purchase_order

Get Purchase Order

Get a single purchase order.

get/purchase-orders/{id}

Request

  • Base URL: https://app.allocadence.com/rest
  • URL: https://app.allocadence.com/rest/purchase-orders/{id}
  • Auth: none declared

Path parameters

idinteger required

Id of the purchase order.

Response

Success

idinteger
orderNumberstring
draftboolean
completedboolean
deletedboolean
createdDatestring date-time
preparedDatestring date-time
requiredByDatestring date
projectNumberstring
notesstring
shipMethodstring
termsstring
userField1string
userField2string
userField3string

Example response

{
  "id": 333,
  "orderNumber": "PO#375",
  "supplier": {
    "id": 35,
    "name": "Gift"
  },
  "warehouse": {
    "id": 1,
    "name": "Main Warehouse"
  },
  "client": {
    "id": 3,
    "name": "Hardware Store"
  },
  "user": {
    "id": 1,
    "name": "Mr Sparks"
  },
  "draft": true,
  "createdDate": "2020-12-02T10:24:26-07:00",
  "requiredByDate": "2020-12-02",
  "items": [
    {
      "id": 456,
      "itemId": 2306,
      "sku": "FumoFumo-002",
      "description": "Marisa Kirisame",
      "quantity": 10,
      "uom": "Each",
      "unitCost": 20
    },
    {
      "id": 457,
      "itemId": 2330,
      "sku": "FumoFumo-006",
      "description": "Alice Margatroid",
      "quantity": 10,
      "uom": "Each",
      "unitCost": 20
    }
  ]
}

Changes

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