Create an offer
POST/v1/offers
Creates an offer as a draft, which the customer cannot see yet. Send it in one go, or start with the offer part alone and add lines later with the /v1/offers/{offerId}/… endpoints. Publish it with POST /v1/offers/{id}/state. Requires the write:offers scope.
Request
Responses
- 201
- 400
- 401
- 403
- 500
The new draft.
validation_error: the body, a path or a query parameter is not valid. message names each problem, e.g. firstName: Required.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
db_error: the database refused or failed the request. message has the details.