PPylon Developers
ApiOrders

Get order by confirmation number

GET
/api/v1/orders/by-number/{confirmationNumber}
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

confirmationNumber*string

Response Body

application/json

application/problem+json

curl -X GET "https://loading/api/v1/orders/by-number/string"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "confirmationNumber": null,
  "status": "string",
  "paymentStatus": "string",
  "buyerEmail": null,
  "buyerFirstName": null,
  "buyerLastName": null,
  "currency": "string",
  "totalAmount": 0.1,
  "refundedAmount": 0.1,
  "expiresAt": null,
  "timeRemaining": null,
  "createdAt": "2019-08-24T14:15:22Z",
  "confirmedAt": null,
  "cancelledAt": null,
  "refundedAt": null,
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "itemType": "string",
      "kind": "string",
      "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",
      "sessionId": null,
      "itemName": "string",
      "quantity": 0,
      "unitPrice": 0.1,
      "totalPrice": 0.1,
      "currency": "string",
      "fulfillmentStatus": "string"
    }
  ]
}
{
  "status": 0,
  "title": "string",
  "code": "string",
  "args": {},
  "errors": null
}