DiscountIdentifier

Version: 1.33

Parameters

Extends: AbstractServiceResource

Attributes
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.

Query Keys
Key Type

eid

Long

identifier

String

orderItemEid

Long

status

DiscountIdentifierStatus

unlimited

Boolean

limit

Integer

uses

Integer

REST Endpoints

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