Orders API
Custom preferences
- Go to Business Manager → Merchant Tools → Site Preferences → Custom Preferences → Extend: Integration Preferences
- Configure the provided Extend credentials in the following fields (refer to Section 2.2 for additional info):
- Extend Access Token
- Extend Store ID
- Configure the following Orders API specific preferences:
- Extend Integration Method: set this to Orders API on Order Create (please confirm with the Extend project team before changing versions).
Testing
- LeadToken:
Go to PDP → Choose product variation → Click “Add to Cart” button without an Extend Protection Plan (LeadTokens are only generated for warrantable products if the customer did not elect to protect their purchase originally) → Go to cart → Go to checkout page → Make a purchase.
Result:
Go to Merchant Tools → Ordering → Orders → Choose Your Order → Shipment → Choose ProductLineItem → Attributes
- Extend Contract ID:
Go to PDP → Choose product variation → Choose an extension plan → Click “Add to Cart” button with an Extend Protection Plan→ Go to cart → Go to checkout page → Make a purchase.
Result:
Go to Merchant Tools → Ordering → Orders → Choose Your Order → Shipment → Choose ExtendLineItem → Attributes
- Refund status:
- Go to Merchant Tools → Ordering → Orders → Choose an Order with at least 1 created Extend Contract ID → Order Status → Choose “Cancelled” → Click “Apply” button.
- Then Go To Administration → Operations → Jobs → “Create Refund from SFCC” → Click “Run Now” button.
Result:
Go to Merchant Tools → Ordering → Orders → Choose Your Order → Shipment → Choose ExtendLineItem → Attributes:
Go to Merchant Tools → Ordering → Orders → Choose Your Order → Attributes:
Refund Statuses:
refund_quoted: Refund amounts have been previewed by merchant/customer at least once, but merchant has not reported that they have refunded the customer yet.
refund_paid: Refund has been reported as paid by the merchant. Contract is canceled. Finance will credit the merchant in the next monthly invoice.
refund_denied: Customer is not eligible for a refund. Customer has consumed all entitlements associated with the contract.Get Refund via Contract ID.
ERROR: service call error.
Updated 12 months ago