Commerce Engine is now in beta. We're working hard to make it better for you.
cURL
curl --request POST \ --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/shipping/shipping-methods \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "delivery_pincode": "<string>", "cart_id": "<string>" }'
{ "message": "<string>", "success": true, "content": { "is_serviceable": true, "shipping_methods": [ { "id": "<string>", "name": "<string>", "shipping_type": "auto", "shipping_amount": "<string>", "estimated_delivery_days": "<string>", "courier_companies": [ { "id": "<string>", "name": "<string>", "shipping_amount": 123, "estimated_delivery_days": "<string>", "is_recommended": true, "is_hyperlocal": true, "mode": "air", "rating": 123 } ] } ] } }
Checks whether a given pincode is serviceable and returns all available shipping methods based on delivery address
Access token
The body is of type object.
object
OK
The response is of type object.