{ "opencollection": "1.0.0", "info": { "name": "Admin Account / Address Checkout / Shipments API", "version": "v3" }, "items": [ { "info": { "name": "Checkout / Shipments", "type": "folder" }, "items": [ { "info": { "name": "Selects shipping method for shipment(s)", "type": "http" }, "http": { "method": "PATCH", "url": "http://{defaultHost}/api/v2/storefront/checkout/select_shipping_method", "params": [ { "name": "include", "value": "line_items,variants,variants.images,billing_address,shipping_address,user,payments,shipments,promotions,gift_card", "type": "query", "description": "Specify the related resources you would like to receive in the response body. [More Information](https://jsonapi.org/format/#fetching-includes)." }, { "name": "fields[cart]", "value": "token,currency,number", "type": "query", "description": "Specify the fields you would like returned in the response body. [More information](https://jsonapi.org/format/#fetching-sparse-fieldsets)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Selects shipping method for Shipment(s).\n\nTo generate shipments you first need to fetch shipping rates via\n\n[Get Shipping Rates](/api-reference/storefront/checkout-shipments/list-shipping-rates) endpoint" }, { "info": { "name": "List Shipping Rates", "type": "http" }, "http": { "method": "GET", "url": "http://{defaultHost}/api/v2/storefront/checkout/shipping_rates" }, "docs": "Returns a list of available shipping rates for the checkout.\n\nShipping rates are grouped against shipments. Each checkout can have multiple shipments. Some products are in stock and will be shipped immediately, while others might be back-ordered and sent later." } ] } ], "bundled": true }