DiscountIdentifier
Version: 1.33
Parameters
Extends: AbstractServiceResource
Attribute | Required? | Datatype | Description |
status |
|
DiscountIdentifierStatus |
REQUESTED AVAILABLE ACTIVE DEACTIVATED QUARANTINED USED EXPIRED RESERVED |
unlimited |
|
boolean |
Is this discount identifier unlimited? |
limit |
|
int |
If limited, what is the limit? |
uses |
|
int |
How many uses are allowed? |
Querying DiscountIdentifier
For paged results, use the plural of the entity name (for example, billingAccounts, productCategories). For more information, refer to Understanding Queries.
Key | Type |
eid |
Long |
identifier |
String |
orderItemEid |
Long |
status |
DiscountIdentifierStatus |
unlimited |
Boolean |
limit |
Integer |
uses |
Integer |
addDiscountIdentifier |
POST |
https://my.tractbilling.com/t/s/r/1.33/discountCodes/{eid}/addDiscountIdentifierToDiscountCode |
removeDiscountIdentifier |
POST |
https://my.tractbilling.com/t/s/r/1.33/discountCodes/{eid}/removeDiscountIdentifierFromDiscountCode |