Shipping Options
Retrieve List of Shipping Options
Changed onWhen integrating the Print API with your own shop, you might want to give customers an option to select among different shipping levels. This endpoint allows you to request available shipping methods (including cost) with minimal input data:
- country
- page_count
- quantity
- pod_package_id
- currency only required if you don't want USD
A valid state must be included in the shipping address to receive accurate shipping information.
<details close> <summary>Countries that require valid state code (ISO 3166-1 alpha-2 code in parentheses)</summary>- United Arab Emirates (AE)
- American Samoa (AS)
- Australia (AU)
- Brazil (BR)
- Canada (CA)
- China (CN)
- Colombia (CO)
- Costa Rica (CR)
- Cayman Islands (KY)
- Spain (ES)
- Micronesia (FM)
- Hong Kong (HK)
- Honduras (HN)
- Indonesia (ID)
- India (IN)
- Iraq (IQ)
- Italy (IT)
- Jamaica (JM)
- Japan (JP)
- Saint Kitts and Nevis (KN)
- Korea (KR)
- Mexico (MX)
- Marshall Islands (MH)
- Northern Mariana Islands (MP)
- Nauru (NR)
- Palau (PW)
- Papua New Guinea (PG)
- French Polynesia (PF)
- Russian Federation (RU)
- El Salvador (SV)
- Somalia (SO)
- Taiwan (TW)
- United States Minor Outlying Islands (UM)
- United States (US)
- Venezuela (VE)
- Virgin Islands, U.S. (VI)
You can further restrict shipping options that support post box delivery by adding is_postbox=true to your shipping address data.
post/shipping-options/
Request
- Base URLhttps://api.lulu.com
- Auth
- none
- or OAuth 2Client credentialsImplicithttps://api.lulu.com/auth/realms/glasstree/protocol/openid-connect/auth?nonce=jwt_loginPasswordToken URLhttps://api.lulu.com/auth/realms/glasstree/protocol/openid-connect/tokenScopesprint-fulfillment.shipping-option
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"currency": "USD",
"line_items": [
{
"page_count": 32,
"pod_package_id": "0600X0900.BW.STD.PB.060UW444.MXX",
"quantity": 1
},
{
"page_count": 324,
"pod_package_id": "0850X1100.FC.STD.PB.060UW444.MXX",
"quantity": 2
}
],
"shipping_address": {
"city": "Washington",
"country": "US",
"postcode": "20540",
"state": "DC",
"street1": "101 Independence Ave SE"
}
}Response
OK
Example response
[
{
"business_only": false,
"cost_excl_tax": null,
"currency": "EUR",
"home_only": false,
"id": 21,
"level": "EXPRESS",
"max_delivery_date": "2018-02-01",
"max_dispatch_date": "2018-01-28",
"min_delivery_date": "2018-01-29",
"min_dispatch_date": "2018-01-25",
"postbox_ok": false,
"shipping_buffer": 0,
"total_days_max": 8,
"total_days_min": 6,
"traceable": true,
"transit_time": 4
}
]Changes
- info
endpoint added
- info