Prices
Update price
Archive a price so it stops selling, or put it back on sale.
POST/v1/prices/{price_id}
Parameters
| Parameter | Description |
|---|---|
| price_idstring · pathrequired | No description in the spec. |
| activeboolean | nulloptional | No description in the spec. |
| metadataobject | nulloptional | At most 50 keys. |
| payment_methodsarray of enum | nulloptional | No description in the spec. |
| refund_on_cancelenum | nulloptional | One of none, full, prorated. |
| refund_window_initial_daysinteger | nulloptional | Between 0 and 365. |
| refund_window_renewal_daysinteger | nulloptional | Between 0 and 365. |
| tax_behaviorenum | nulloptional | One of inclusive, exclusive. |
Returns
Returns a PriceResponse object.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | Key is missing the prices:write scope. |
| 404 | No such object, or it belongs to the other mode. |
| 422 | Validation Error |
| 429 | Rate limited. Back off and retry. |
Other prices operations
- List prices GET /v1/prices
- Create price POST /v1/prices
- Get price GET /v1/prices/{price_id}
BillKit