Purchase Orders

Update an order item

A change of the cost or the count moves the totals of the order, and the offer of the supplier follows the new cost.

patch/api/v1/sa/inventory/purchase-order-items/{id}

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/{id}
  • Auth: one of:
    • API key in query parameter api_key
    • API key in header X-Api-Key

Path parameters

idinteger required
Example:4471

Request body

unit_costnumber
unit_countinteger
skustring nullable

Example request

{
  "unit_cost": 9.5,
  "unit_count": 12
}

Response

The item

Example response

{
  "data": {
    "id": 4471,
    "purchase_order_id": 42,
    "internal_product_id": "P-5XK1S0NQNO",
    "asin": "B0019MQM64",
    "unit_cost": 9.5,
    "unit_count": 12,
    "total_cost": 114
  }
}

Changes

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