GuideLab Docs

Quote the shipping options for an order

Prices each shipping type the lab offers for this order's destination and weight, exactly as submission will freeze it, with the open orders it may ship together with. For a draft, the organization that owns it may ask; for a submitted order, only the lab while it can still change the order's shipping. Missing product weights and an uncovered destination are reported to the lab only.

GET
/orders/{id}/shipping-options

Prices each shipping type the lab offers for this order's destination and weight, exactly as submission will freeze it, with the open orders it may ship together with. For a draft, the organization that owns it may ask; for a submitted order, only the lab while it can still change the order's shipping. Missing product weights and an uncovered destination are reported to the lab only.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

id*string
Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/orders/string/shipping-options"
{  "needsShipping": true,  "options": [    {      "shippingTypeId": "string",      "name": "string",      "method": "carrier",      "amount": "string",      "insuranceAmount": "string",      "combine": [        {          "anchorOrderId": "string",          "orderNumbers": [            "string"          ],          "dueDate": "string",          "amount": "string"        }      ]    }  ],  "warnings": {    "uncoveredDestination": true,    "weightGrams": 0,    "missingWeightProducts": [      {        "id": "string",        "name": "string"      }    ]  }}
Empty
Empty
Empty