Purchase Orders

Delete order items

The call names the items with ids. The ids can belong to several orders. The totals of every order they touch are calculated again.

delete/api/v1/sa/inventory/purchase-order-items

Request

  • Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
  • URL: https://app.sellerassistant.app/api/v1/sa/inventory/purchase-order-items
  • Auth: one of:
    • API key in query parameter api_key
    • API key in header X-Api-Key

Request body

idsinteger[] required

Example request

{
  "ids": [
    4471
  ]
}

Response

One result for each id

dataobject[]

Example response

{
  "meta": {
    "succeeded": 2,
    "failed": 1
  },
  "errors": [
    {
      "code": "not_found",
      "message": "The product [P-1] was not found."
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.