Skip to Content
ReferenceAPICatalogueDelete a price

Catalogue API

Delete a catalogue price

Delete a contextual price from a catalogue item.

DELETE/v1/catalogue/items/{itemId}/prices/{priceId}
capability catalogue.prices.delete · v1operational dataserver-scoped workspace

Request

Path, query, and JSON body fields accepted by this operation.

  • itemIdstring<uuid>required
    path
  • priceIdstring<uuid>required
    path

Response

Successful responses use Dawn's data envelope.

  • dataCataloguePricerequired
    • idstring<uuid>required
    • workspaceIdstring<uuid>required
    • catalogueItemIdstring<uuid>required
    • type"base" | "override" | "sale"required
    • currencyCodestringrequired
      min length 3max length 3
    • amountintegerrequired
      min 0max 100000000000
    • minQuantityintegerrequired
      min 1max 10000
    • maxQuantityinteger | nullrequired
      min 1max 10000
    • rulesobject[]required
      max items 20
      • attributestringrequired
        min length 1max length 120
      • operator"eq" | "neq" | "in" | "not_in" | "gt" | "gte" | "lt" | "lte"required
      • valuestring | number | boolean | string | number | boolean[]required
    • priorityintegerrequired
      min -1000max 1000
    • startsAtstring<date-time> | nullrequired
    • endsAtstring<date-time> | nullrequired
    • createdAtstring<date-time>required
    • updatedAtstring<date-time>required
  • metaobject

Errors

Error responses use the shared error envelope.

  • 404The catalogue price could not be found.
  • 422The catalogue price ID is invalid.
  • 503The catalogue price could not be deleted.
Last updated on