Library

Update a rate pack item

patch/library/rate-packs/{packId}/items/{itemId}

Request

  • Base URL: https://next-api.saturation.io/v1
  • URL: https://next-api.saturation.io/v1/library/rate-packs/{packId}/items/{itemId}
  • Auth: HTTP bearer

Path parameters

packIdstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

Example:txn_8f2a1c9e
itemIdstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

Example:txn_8f2a1c9e

Request body

titlestring
unitstring
descriptionstring nullable
quantitynumber nullable
multipliernumber nullable
groupstring nullable
agreementstring nullable
localstring nullable
effectiveDatestring date nullable
labelsstring[]

Example request

{
  "rate": {
    "amount": 152900,
    "currency": "USD"
  }
}

Response

The updated item.

idstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

titlestring required
descriptionstring nullable
unitstring required
quantitynumber nullable
multipliernumber nullable
groupstring nullable
agreementstring nullable
localstring nullable
effectiveDatestring date nullable
labelsstring[]
displayTagsstring[]

Example response

{
  "id": "txn_8f2a1c9e",
  "rate": {
    "amount": 152900,
    "currency": "USD"
  },
  "version": {
    "id": "txn_8f2a1c9e"
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.