Rivier/ Reference/ shop

A new draft copied from a proposal, without its number; idempotent on the key

post/proposals/{id}/duplicate

Before you call

Credential
Authorization: Bearer $KEY
Scope
shop:write
Mcp
rivier_proposals_duplicate
Graphql
Mutation.shopProposalDuplicate
Sdk
shop.proposal.duplicate
Cli
proposals duplicate

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • idempotencyKeystringrequired
    At most 120 characters.

Responses

  • 201application/json
    Success
    • idstring (uuid)required
    • kindstringrequired
      One of: quote, proposal.
    • organizationIdstring (uuid)required
    • clientIdstring (uuid) or nullrequired
    • numberstring or nullrequired
    • statusstringrequired
      One of: draft, sent, viewed, accepted, declined, expired, void, converted.
    • currencystringrequired
    • languagestringrequired
    • titlestringrequired
    • issueDatestring or nullrequired
    • validUntilstring or nullrequired
    • subtotalMinornumberrequired
    • taxMinornumberrequired
    • totalMinornumberrequired
    • revisionnumberrequired
    • versionnumberrequired
    • convertedKindstring or nullrequired
    • convertedIdstring (uuid) or nullrequired
    • acceptedAtstring or nullrequired
    • acceptedNamestring or nullrequired
    • declinedAtstring or nullrequired
    • sentAtstring or nullrequired
    • viewedAtstring or nullrequired
    • voidedAtstring or nullrequired
    • createdBystringrequired
    • createdAtstringrequired
    • updatedAtstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown