PUT api/v1/coupons/{promotionCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
promotionCode | string |
Required |
Body Parameters
CouponDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CreationDate | date |
None. |
|
ModificationDate | date |
None. |
|
PromotionCode | string |
None. |
|
PromotionTypeCode | string |
None. |
|
UrlImagePromotion | string |
None. |
|
TitleList | string |
None. |
|
TitleDetail | string |
None. |
|
Conditions | string |
None. |
|
BeginDate | date |
None. |
|
EndDate | date |
None. |
|
BeginUsableDate | date |
None. |
|
EndUsableDate | date |
None. |
|
Description | string |
None. |
|
Active | boolean |
None. |
|
IsHidden | boolean |
None. |
|
CategoryCode | string |
None. |
|
BrandCode | string |
None. |
|
IsDeleteable | boolean |
None. |
|
PartnerPromotions | Collection of PartnerPromotionDto |
None. |
|
ProductsPromotions | string |
None. |
|
AllowMultipleUses | boolean |
None. |
|
AllowMultipleCodes | boolean |
None. |
|
IsManualCouponCode | boolean |
None. |
|
ManualCode | string |
None. |
|
ExtraIndexPoints | integer |
None. |
|
IsClubCoupon | boolean |
None. |
|
IsAutogenerated | boolean |
None. |
|
ClubLevelCode | string |
None. |
|
Points | integer |
None. |
|
Cost | decimal number |
None. |
|
CustomerCost | decimal number |
None. |
|
DiscountValueEuros | decimal number |
None. |
|
DiscountValuePercentage | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "9d269ac4-f154-434b-9c7a-2b84f6c0918b", "creationDate": "2025-08-29T08:55:42.7300673+00:00", "modificationDate": "2025-08-29T08:55:42.7300673+00:00", "promotionCode": "sample string 3", "promotionTypeCode": "sample string 4", "urlImagePromotion": "sample string 5", "titleList": "sample string 6", "titleDetail": "sample string 7", "conditions": "sample string 8", "beginDate": "2025-08-29T08:55:42.7300673+00:00", "endDate": "2025-08-29T08:55:42.7300673+00:00", "beginUsableDate": "2025-08-29T08:55:42.7300673+00:00", "endUsableDate": "2025-08-29T08:55:42.7300673+00:00", "description": "sample string 9", "active": true, "isHidden": true, "categoryCode": "sample string 12", "brandCode": "sample string 13", "isDeleteable": true, "partnerPromotions": [ { "id": "bcd00593-5a44-4e8b-b354-cef38b5763c3", "code": "sample string 1", "promotionCode": "sample string 2", "name": "sample string 3", "mobilePhone": "sample string 4", "phone": "sample string 5", "email": "sample string 6" }, { "id": "bcd00593-5a44-4e8b-b354-cef38b5763c3", "code": "sample string 1", "promotionCode": "sample string 2", "name": "sample string 3", "mobilePhone": "sample string 4", "phone": "sample string 5", "email": "sample string 6" } ], "productsPromotions": "sample string 15", "allowMultipleUses": true, "allowMultipleCodes": true, "isManualCouponCode": true, "manualCode": "sample string 19", "extraIndexPoints": 20, "isClubCoupon": true, "isAutogenerated": true, "clubLevelCode": "sample string 23", "points": 24, "cost": 25.0, "customerCost": 26.0, "discountValueEuros": 1.0, "discountValuePercentage": 1.0 }
application/xml, text/xml
Sample:
<CouponDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos"> <Active>true</Active> <AllowMultipleCodes>true</AllowMultipleCodes> <AllowMultipleUses>true</AllowMultipleUses> <BeginDate>2025-08-29T08:55:42.7300673+00:00</BeginDate> <BeginUsableDate>2025-08-29T08:55:42.7300673+00:00</BeginUsableDate> <BrandCode>sample string 13</BrandCode> <CategoryCode>sample string 12</CategoryCode> <ClubLevelCode>sample string 23</ClubLevelCode> <Conditions>sample string 8</Conditions> <Cost>25</Cost> <CreationDate>2025-08-29T08:55:42.7300673+00:00</CreationDate> <CustomerCost>26</CustomerCost> <Description>sample string 9</Description> <DiscountValueEuros>1</DiscountValueEuros> <DiscountValuePercentage>1</DiscountValuePercentage> <EndDate>2025-08-29T08:55:42.7300673+00:00</EndDate> <EndUsableDate>2025-08-29T08:55:42.7300673+00:00</EndUsableDate> <ExtraIndexPoints>20</ExtraIndexPoints> <Id>9d269ac4-f154-434b-9c7a-2b84f6c0918b</Id> <IsAutogenerated>true</IsAutogenerated> <IsClubCoupon>true</IsClubCoupon> <IsDeleteable>true</IsDeleteable> <IsHidden>true</IsHidden> <IsManualCouponCode>true</IsManualCouponCode> <ManualCode>sample string 19</ManualCode> <ModificationDate>2025-08-29T08:55:42.7300673+00:00</ModificationDate> <PartnerPromotions> <PartnerPromotionDto> <Code>sample string 1</Code> <Email>sample string 6</Email> <Id>bcd00593-5a44-4e8b-b354-cef38b5763c3</Id> <MobilePhone>sample string 4</MobilePhone> <Name>sample string 3</Name> <Phone>sample string 5</Phone> <PromotionCode>sample string 2</PromotionCode> </PartnerPromotionDto> <PartnerPromotionDto> <Code>sample string 1</Code> <Email>sample string 6</Email> <Id>bcd00593-5a44-4e8b-b354-cef38b5763c3</Id> <MobilePhone>sample string 4</MobilePhone> <Name>sample string 3</Name> <Phone>sample string 5</Phone> <PromotionCode>sample string 2</PromotionCode> </PartnerPromotionDto> </PartnerPromotions> <Points>24</Points> <ProductsPromotions>sample string 15</ProductsPromotions> <PromotionCode>sample string 3</PromotionCode> <PromotionTypeCode>sample string 4</PromotionTypeCode> <TitleDetail>sample string 7</TitleDetail> <TitleList>sample string 6</TitleList> <UrlImagePromotion>sample string 5</UrlImagePromotion> </CouponDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.