GET /admin/api/{api_version}/checkouts/{token}/shipping_rates.json
Retrieves a list of available shipping rates for the specified checkout. Implementers need to poll this endpoint until rates become available. Each shipping rate contains the checkout's new subtotal price, total tax, and total price in the event that this shipping rate is selected. This can be used to update the UI without performing further API requests.
To apply a shipping rate, update the checkout's shipping line with the handle of the selected rate.
Servers
- https://{store_name}.myshopify.com
- {store_name}.myshopify.com
Path parameters
Name |
Type |
Required |
Description |
api_version |
String |
Yes |
|
token |
String |
Yes |
|
Request headers
Name |
Type |
Required |
Description |
x-shopify-access-token |
String |
No |
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.