Catalog

Update a price

Update a price. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

patch/api/v1/prices/{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.

Request body

activeboolean
nicknamestring nullable
metadataobject

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

Response

Resource updated

idstring required
object'price' required
productIdstring required
nicknamestring nullable
activeboolean required
currencystring required
unitAmountMinorinteger nullable

Null for a pay-what-you-want price.

type'one_time' | 'recurring' required
lookupKeystring nullable
metadataobject

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.