Create a price
Body·
required
application/json
Fields accepted when creating a price. Unknown or read-only fields are rejected.
- Type: number | nullamountrequired
- Type: string | nullFormat: uuidproduct
Id requiredReferences products.id.
- Type: string | nulllabel
- Type: number | nullorder
- Type: "active" or "inactive" or nullenumstatus
Active tiers are offered; inactive are retired.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/prices
curl https://api.weddingoperatingsystems.com/api/v1/prices \
--request POST \
--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.094Z",
"lastEditedTime": "2026-09-30T11:22:55.094Z"
}
}