Skip to navigation

Update Price

Update a price. Body is application/x-www-form-urlencoded (ADR 0004); merchant-scoped through the Fluveo /v1 tenant wrapper.

Authentication

AuthorizationBasic

Standard Basic HTTP authentication. The username is the Fluveo secret key and the password must be empty, encoded as base64(api_key:).

OR
AuthorizationBearer

Bearer HTTP authentication. Allowed header: Authorization: Bearer <api_key>.

Path parameters

pricestringRequiredformat: "^price_"

Headers

Idempotency-KeystringOptional1-255 characters

Makes a POST safely retryable according to that operation’s documented idempotency policy. The durable 24-hour journal applies only where the resource documentation explicitly claims it. Reusing a key with different parameters or another endpoint returns an idempotency error.

Request

This endpoint expects an object.
activebooleanOptional
lookup_keystringOptional
metadatamap from strings to stringsOptional

Stripe-compatible public metadata: at most 50 merchant-visible entries, with keys up to 40 characters and string values up to 500 characters. Server-owned fluveo_ stamps are not part of the public allowance and are never returned.

nicknamestringOptional
tax_behaviorenumOptional
Allowed values:
transfer_lookup_keybooleanOptional
Move the lookup key from the price that currently holds it.

Response

Stripe-compatible response

activeboolean
billing_schemeenum
Allowed values:
currencystringformat: "currency"
custom_unit_amountobject or null
idstring<=5000 characters

Fluveo narrowing: not in upstream pin; truthful public id-prefix constraint

livemodeboolean
lookup_keystring or null<=5000 characters
metadatamap from strings to strings
nicknamestring or null<=5000 characters
objectenum
Allowed values:
productstring<=5000 characters
recurringobject or null
tax_behaviorenum or null
Allowed values:
tiers_modeenum or null
Allowed values:
transform_quantityobject or null
typeenum
Allowed values:
unit_amountinteger or null

Per-unit price in the smallest currency unit.

unit_amount_decimalstring or nullformat: "decimal"
createdintegerOptional