POST api/Product/EditProduct

Request Information

URI Parameters

None.

Body Parameters

CGProduct
NameDescriptionTypeAdditional information
ProductId

integer

None.

MerchantId

integer

None.

ProductCategoryId

integer

None.

ProductName

string

None.

DealDateStart

date

None.

DealDateEnd

date

None.

RedemptionDateStart

date

None.

RedemptionDateEnd

date

None.

Quantity

integer

None.

Price

decimal number

None.

PriceOriginal

decimal number

None.

Description

string

None.

DescriptionShort

string

None.

Terms

string

None.

DateCreated

date

None.

DateDeleted

date

None.

QuantityBought

integer

None.

QuantityLeft

integer

None.

IsExpired

boolean

None.

CoverImageUrl

string

None.

ImageFilePaths

Collection of string

None.

ProductCategory

CGProductCategory

None.

Merchant

CGMerchant

None.

ApprovalStatus

string

None.

ApprovalComment

string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProductResponse
NameDescriptionTypeAdditional information
ResponseObject

CGProduct

None.

Code

ResponseCode

None.

Message

string

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.