Skip to main content

Update Shipping Rate Card

PUT /orders/shipping/rate-cards/{uuid}

Description

Update the shipping fee rate card based on the weight and distance bands. This endpoint allows updating the rate card with the specified parameters.

Parameters

  • tenantId (string, header, required): The ID of the tenant.
  • countryCode (string, header, required): The country code.
  • uuid (string, path, required): The unique identifier of the rate card.

Request Body

  • Media Type: application/json

Example Value

{
"amount": 1,
"measurementUnitDistance": "string",
"measurementUnitWeight": "string",
"rateType": "string",
"capAmount": 1
}

Responses

200 Shipping fee rate card update successful

Media type: Controls Accept header.

Example Value

{
"status": true,
"statusCode": 0,
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"descriptiveMessage": "string"
}
]
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PUT \ 
--url /orders/shipping/rate-cards/{uuid} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!