Skip to main content

Approve Customer Pricing Tier Move

POST 

/api/customer-pricing-tier-moves/:move/approve

Apply a proposed move: the customer's pricing tier changes to to_tier and the move becomes applied. No request body.

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token. Token scope: customers:write.

Returns 409 with code: "stale" when the move can no longer be applied: it was already resolved, the customer is archived, the customer's tier is locked, the target tier was archived or deleted, or the customer's tier changed since the move was proposed. In the last three cases the move is marked superseded with that reason as its note.

Move fields: id, customer_id, customer (id, name, company, link_route), pricing_tier_ladder_id (null for a manual change), ladder_name, from_tier / to_tier (id, name; names are kept even if a tier is later renamed or deleted), direction (upgrade, downgrade, manual), status (proposed, applied, dismissed, superseded), source (nightly_evaluation, manual_evaluation, manual) — each with a readable *_label — qualifying_spend and threshold (decimal strings in base currency), window_start / window_end (the spend window, Y-m-d), note (why a move was superseded, e.g. "Customer's tier changed since this was proposed"), applied_at / applied_by, resolved_at / resolved_by (user id and name), created_at.

Request​

Responses​

OK

Response Headers
    Content-Type