This service provides the following discovery document promotion :
GET promotion/{Key}
POST promotion/{Key}
PUT promotion/{Key}?promo_code={code_promo}
DELETE promotion/{Key}?promo_code={code_promo}
Parameters | |
---|---|
Key |
The your API Key. |
code_promo |
Promo code on an event or product. |
product_id |
Product code if the promo is in progress for the product. |
customerid |
Customer code if promo is intended for customer. |
active_until |
Promotion period on an event or product. |
notactive |
Status active and not customer, default is 0 |
created_by |
Who made the promo. |
created_date |
When promos are made. |
updated_by |
Who renews the promo. |
updated_date |
When promos are updated. |
JSON representation | |
---|---|
{ "code_promo": varchar(20) PRIMARY, "product_id": varchar(20) PRIMARY, "customerid": varchar(20) PRIMARY, "active_until": Datetime, "created_by": varchar(20), "created_date": Datetime, "updated_by": varchar(20), "updated_date": Datetime, "notactive": tinyint(2) } |