Catalog

Update a shipping rate's active flag or metadata (the amount is fixed; there is no delete)

Update a shipping rate's active flag or metadata (the amount is fixed; there is no delete). Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

patch/api/v1/shipping-rates/{id}

Request

  • Base URL
    https://merchant.zahlo.eu
  • Auth
    API key in header x-api-key

Path parameters

idstring required

The resource identifier returned by the merchant API.

Headers

Idempotency-Keystring

Retry-safe key for create operations.

Request body

activeboolean
metadataobject

Up to 50 key-value pairs; keys up to 40 characters, values strings up to 500 characters.

Response

The updated shipping rate

idstring required
object'shipping_rate' required
livemodeboolean required
createdAtstring date-time required
activeboolean required
displayNamestring required
type'fixed_amount' required
metadataobject required

Up to 50 key-value pairs; keys up to 40 characters, values strings up to 500 characters.

Changes

No recorded changes to this operation across all 1 revision of this API.