Products
Update product
Update a product's details, or archive it.
POST/v1/products/{product_id}
Parameters
| Parameter | Description |
|---|---|
| product_idstring · pathrequired | No description in the spec. |
| activeboolean | nulloptional | No description in the spec. |
| allow_promotion_codesboolean | nulloptional | No description in the spec. |
| descriptionstring | nulloptional | At most 2048 characters. |
| marketing_featuresarray of string | nulloptional | No description in the spec. |
| metadataobject | nulloptional | At most 50 keys. |
| namestring | nulloptional | At most 255 characters. |
Returns
Returns a ProductResponse object.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | Key is missing the products:write scope. |
| 404 | No such object, or it belongs to the other mode. |
| 422 | Validation Error |
| 429 | Rate limited. Back off and retry. |
Other products operations
- List products GET /v1/products
- Create product POST /v1/products
- Get product GET /v1/products/{product_id}
BillKit