Intended Application
Submits a product code for product code promotion participation.
Notes
- One of two identifiers can be supplied (Account Id or Internal Member Id). If both are supplied, the Account Id is given preference and is used to retrieve the member. If no Internal Member Id is available, enter -1 for this field.
Input Parameters
PARAMETER |
DATA TYPE | DATA REQUIRED? | FORMATTING | NOTES |
---|---|---|---|---|
WS Security Token |
Alphanumeric |
Yes |
|
|
Account Id | Alphanumeric | Yes/No | See Article Notes | |
Internal Member Id | Integer | Yes/No | See Article Notes | |
Product Code | Alphanumeric | Yes | ||
Location External Reference | Alphanumeric | No | The originating location (store/site) if applicable. | |
Product External Reference | Alphanumeric | Yes/No | The associated product (SKU) if applicable. May be required depending on setup. | |
Fetch Points Earned for Code | Integer | Yes | 1 = Returns Points Info, 0 = Does Not |
Common Return Codes
0,1,2,100,101,102,5000,6000,6004,12000,12001,12002,12003,12004,12005,12006
Additional error codes may be generated. Their descriptions can be found by calling GetReturnCodeMessage.
More Information