Update a price
Partial update: only the fields sent change.
Path Parameters
- Type: stringFormat: uuididrequired
Price id.
Body·
required
application/json
Any subset of writable fields. At least one is required. Unknown or read-only fields are rejected.
- Type: number | nullamount
- Type: string | nulllabel
- Type: number | nullorder
- Type: string | nullFormat: uuidproduct
Id References products.id.
- Type: "active" or "inactive" or nullenumstatus
Active tiers are offered; inactive are retired.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for patch/prices/{id}
curl https://api.weddingoperatingsystems.com/api/v1/prices/123e4567-e89b-12d3-a456-426614174000 \
--request PATCH \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"label": null,
"status": "active",
"order": null,
"amount": null,
"productId": null
}'
{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"label": null,
"status": "active",
"order": null,
"amount": null,
"productId": null,
"createdTime": "2026-09-30T11:22:55.097Z",
"lastEditedTime": "2026-09-30T11:22:55.097Z"
}
}