Shop invoice client
put/invoices/{id}/client
Set which client of the organisation an invoice is for (null clears it) and who receives it; without recipients they come from the client's primary and default-copied contacts.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:write- Mcp
rivier_invoices_client- Graphql
Mutation.shopInvoiceClient- Sdk
shop.invoice.client- Cli
invoices client
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- clientIdstring (uuid) or nullrequired
- recipientsobject
- tolist of objectDefault: [].
- namestringDefault: . At most 200 characters.
- emailstring (email)requiredAt most 254 characters.
- contactIdstring (uuid)
- namestring
- cclist of objectDefault: [].
- namestringDefault: . At most 200 characters.
- emailstring (email)requiredAt most 254 characters.
- contactIdstring (uuid)
- namestring
- tolist of object
Responses
- 200application/jsonSuccess
- invoiceIdstring (uuid)required
- clientIdstring (uuid) or nullrequired
- recipientsobjectrequired
- tolist of objectDefault: [].
- namestringDefault: . At most 200 characters.
- emailstring (email)requiredAt most 254 characters.
- contactIdstring (uuid)
- namestring
- cclist of objectDefault: [].
- namestringDefault: . At most 200 characters.
- emailstring (email)requiredAt most 254 characters.
- contactIdstring (uuid)
- namestring
- tolist of object
- 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