POST
/
shipping
/
shipping-methods
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
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Access token

Body

application/json

The body is of type object.

Response

200
application/json

OK

The response is of type object.