Replace a link of a quote with a new one; the old address stops working
post/quotes/{id}/links/{linkId}/regenerate
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:write- Sdk
shop.quote.linkRegenerate- Cli
quotes links regenerate
Parameters
- idstring (uuid)requiredIn the path
- linkIdstring (uuid)requiredIn the path
Request bodyapplication/json, required
- daysintegerDefault: 30. At least 1. At most 365.
Responses
- 201application/jsonSuccess
- urlstringrequired
- tokenstringrequired
- linkobjectrequired
- idstring (uuid)required
- kindstringrequiredOne of: quote, proposal, invoice.
- docIdstring (uuid)required
- expiresAtstring or nullrequired
- viewsnumberrequired
- firstViewedAtstring or nullrequired
- lastViewedAtstring or nullrequired
- revokedAtstring or nullrequired
- createdBystringrequired
- createdAtstringrequired
- activebooleanrequired
- 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