Intended Application
Submits a product code for product code promotion participation, much like the ProductCodePromotion WS. However, ProductCodePromotionExtended returns additional information, including:
- Transaction Profit Value
- Transaction Base Point Value
- Transaction Point Value
- Member First Name
- Member Last Name
- Member Points Earned
- Member Points Deducted
- Member Points Used
- Member Points Expired
- Member Points Available
- Member Points Locked
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. |
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