Go Back

GET v1/purchaseorders/{id}

Retrieve a single purchase order

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Purchase order identifier

string

Required

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ReferenceNumber": null,
  "Discount": 5.0,
  "Shipping": 150.0,
  "Due": 1,
  "ClientNotes": "Thank you for your payment",
  "InternalNotes": "Some internal notes..",
  "DocItems": [
    {
      "ItemId": "XBR-65X950B",
      "ItemDescription": "Flagship 4K Ultra HD TV",
      "ItemPrice": 6999.0,
      "ItemQuantity": 1.0,
      "TaxId1": 1,
      "TaxId2": null,
      "DiscountType": 0,
      "DiscountValue": 10.0
    }
  ],
  "BankAccountId": 1,
  "EarlyPaymentDiscount": {
    "DiscountValue": 2.0,
    "DueDate": "2016-12-05T00:00:00+00:00"
  },
  "Key": null,
  "ClientId": "1",
  "Id": "1",
  "CurrencyId": 140,
  "LanguageId": null,
  "IssueDate": "2016-12-03T02:07:54.6023444+00:00",
  "CompanyId": 1,
  "AcceptCreditCard": false,
  "AcceptPayPal": false,
  "Uri": null
}

Go Back