docs.remarkable.net
Reference

Get Order

Get a customers order on reference, authorize using Query Auth

GET/v1/orders/{reference}
AuthorizationBasic <token>

Basic Authorization header using the Bearer scheme.

In: header

Authorization<token>

JWT Authorization header using the Bearer scheme.

In: header

Path Parameters

referencestring

Query Parameters

username?string
token?string
emailAddress?string

Response Body

curl -X GET "https://loading/v1/orders/string?username=string&token=string&emailAddress=string"
{
  "order": {
    "orderId": 0,
    "customerId": 0,
    "storeId": 0,
    "orderStatusId": 0,
    "reference": "string",
    "transactionDate": "2019-08-24T14:15:22Z",
    "billingAddressId": 0,
    "deliveryAddressId": 0,
    "currencyId": 0,
    "total": 0.1,
    "itemTotal": 0.1,
    "shipping": 0.1
  },
  "orderItems": [
    {
      "title": "string",
      "image": "string",
      "stockTitle": "string",
      "quantity": 0,
      "itemPrice": 0.1,
      "currencyId": 0,
      "productCode": "string",
      "stockId": 0,
      "itemDiscount": 0.1,
      "productId": 0,
      "url": "string",
      "rrp": 0.1
    }
  ],
  "billingAddress": {
    "addressId": 0,
    "addressLine1": "string",
    "addressLine2": "string",
    "addressLine3": "string",
    "city": "string",
    "county": "string",
    "country": "string",
    "postcode": "string",
    "type": "string",
    "companyName": "string",
    "contactNumber": "string",
    "title": "string",
    "firstName": "string",
    "lastName": "string",
    "countryId": 0
  },
  "deliveryAddress": {
    "addressId": 0,
    "addressLine1": "string",
    "addressLine2": "string",
    "addressLine3": "string",
    "city": "string",
    "county": "string",
    "country": "string",
    "postcode": "string",
    "type": "string",
    "companyName": "string",
    "contactNumber": "string",
    "title": "string",
    "firstName": "string",
    "lastName": "string",
    "countryId": 0
  },
  "userAccount": {
    "emailAddress": "string",
    "firstName": "string",
    "title": "string",
    "lastName": "string",
    "mobileNumber": "string",
    "registered": true,
    "registeredAccountExists": true
  },
  "delivery": {
    "title": "string",
    "priceFrom": 0.1,
    "priceTo": 0.1,
    "price": 0.1,
    "shippingId": 0,
    "shippingOptionId": 0,
    "instructions": "string",
    "clickAndCollect": true,
    "expectedDeliveryMessage": "string",
    "shippingType": "string",
    "expeditedDelivery": true,
    "minWeight": 0.1,
    "gbpPrice": 0.1
  },
  "orderStatus": {
    "orderStatusId": 0,
    "title": "string",
    "statusEmail": "string",
    "successful": true,
    "dispatched": true,
    "returned": true,
    "sendEmail": true
  },
  "store": {
    "storeId": 0,
    "name": "string",
    "address": "string",
    "addressLine1": "string",
    "postCode": "string",
    "city": "string"
  },
  "currencyResult": {
    "symbol": "string",
    "separator": "string",
    "isoCode": "string",
    "isPrefix": true,
    "rate": 0.1
  },
  "payments": [
    {
      "total": 0.1,
      "addressResult": "string",
      "postCodeResult": "string",
      "cv2Result": "string",
      "vendorCode": "string",
      "paymentDate": "2019-08-24T14:15:22Z",
      "gateway": "string",
      "success": true,
      "txType": "string",
      "paymentType": "string"
    }
  ],
  "valid": true
}
{
  "message": "string",
  "code": 0
}
{
  "succeeded": true,
  "errors": [
    {
      "message": "string"
    }
  ]
}

How is this guide?