REST Resource: v1.promotion

This service provides the following discovery document promotion :

HTTP request

GET promotion/{Key}

POST promotion/{Key}

PUT promotion/{Key}?promo_code={code_promo}

DELETE promotion/{Key}?promo_code={code_promo}

Path parameters

Parameters
Key

string

The your API Key.

code_promo

string

Promo code on an event or product.

product_id

string

Product code if the promo is in progress for the product.

customerid

string

Customer code if promo is intended for customer.

active_until

datetime

Promotion period on an event or product.

notactive

int

Status active and not customer, default is 0

created_by

string

Who made the promo.

created_date

datetime

When promos are made.

updated_by

string

Who renews the promo.

updated_date

datetime

When promos are updated.

Query parameters

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) }