Shipping Offers 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 Custom Preferences for more info about these options):
- Extend Access Token
- Extend Store ID
- Configure the following Orders API specific preferences:
- Extend Integration Method: set this to Orders API on Order Create or Orders API on Schedule (please confirm with the Extend project delivery team).
- Ensure “Enable Extend Shipping Protection” is set to “Yes”.
![](https://files.readme.io/23fd422-1.png)
Testing
There are two main methods of offering shipping protection to your customers.
- Extend Choice means the customer can opt in or opt out of a shipping protection offer. Within Extend Choice, OPT_IN means that the offer is NOT selected by default, and the customer must choose to add it. OPT_OUT means that the offer is selected by default and will be included in the order unless the customer unselects it.
![](https://files.readme.io/6a878d5-2.png)
Cart View:
![](https://files.readme.io/3384250-3.png)
![](https://files.readme.io/d7c70e5-4.png)
Make a purchase → Go to Business Manager → Merchant Tools → Ordering → Choose the order → Shipment → Choose the “EXTEND-SHIPPING-PROTECTION” line item → Attributes → See the “Extend Contract ID”. See example below:
![](https://files.readme.io/018287e-5.png)
![](https://files.readme.io/d45c66a-6.png)
Create Refunds From SFCC job for Shipping Protection API.
Note:
Create Refunds From SFCC job works differently depending on the delivery status. Make sure the Orders API is enabled
- Order was shipped and canceled:
Choose the order to cancel → Set “Shipping Status” to “Shipped” → Set “Order Status” to “Canceled”:
![](https://files.readme.io/a79e4fd-7.png)
Run the “Create Refunds From SFCC” job.
Go back to that order → Shipment → Choose the “EXTEND-SHIPPING-PROTECTION” line item/ and “EXTEND warranty” line item to see the result → Attributes → see “Extend Refund Statuses”:
![](https://files.readme.io/2edc314-8.png)
Contracts were refunded.
![](https://files.readme.io/0fda1ac-9.png)
Extend Shipping Protect wasn’t refunded because the product has already shipped.
- Order was NOT shipped and canceled:
Choose the order to cancel → Set “Shipping Status” to “Not Shipped” (as a default) → Set “Order Status” to “Canceled”:
![](https://files.readme.io/3929259-10.png)
Run the “Create Refunds From SFCC” job.
Go back to that order → Shipment → Choose the “EXTEND-SHIPPING-PROTECTION” line item/ and “EXTEND warranty” line item to see the result → Attributes → see “Extend Refund Statuses”:
![](https://files.readme.io/3dcbf78-11.png)
- Contract was refunded
![](https://files.readme.io/d12cf08-12.png)
Extend Shipping protection also was refunded.
Updated 9 months ago