List something the business offers, as a draft
post/payments/offerings
List something the business offers, as a draft: its shape (nights, session, ticket, hire), title, one price in one currency, capacity, whether it is paid online or on arrival, and how much comes back on a cancellation (free until some hours before the start, then a percentage). Nobody can reserve a draft.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:write- Mcp
rivier_payments_offering_save- Graphql
Mutation.shopOfferingCreate- Sdk
shop.offering.create- Cli
shop offering create
Request bodyapplication/json, required
- shapestringrequiredOne of: nights, session, ticket, hire.
- titlestringrequiredAt most 160 characters.
- descriptionstringAt most 2000 characters.
- placeNamestringAt most 160 characters.
- currencystringrequiredPattern: ^[A-Za-z]{3}$.
- priceMinorintegerrequiredAt least 0. At most 99999999.
- capacityintegerDefault: 1. At least 1. At most 100000.
- durationMinutesintegerAt least 5. At most 43200.
- paystringOne of: online, on_arrival. Default: online.
- freeCancelHoursintegerDefault: 48. At least 0. At most 8760.
- lateRefundPercentintegerDefault: 0. At least 0. At most 100.
- visibilitystringOne of: apps, public. Default: apps.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring