Catalog

Create price

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

post/api/v1/prices

Request

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

Headers

Idempotency-Keystring

Retry-safe key for create operations.

Request body

productIdstring required
unitAmountMinorinteger
currencystring required
type'one_time' | 'recurring'
nicknamestring
lookupKeystring
activeboolean
metadataobject

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

Response

Resource created

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.