docs.remarkable.net

Create Order

Create a new order for a customer. Authorize with basic auth

POST/v1/orders
AuthorizationBasic <token>

Basic Authorization header using the Bearer scheme.

In: header

Authorization<token>

JWT Authorization header using the Bearer scheme.

In: header

orderStatusId?integer
Formatint32
customerGuid?string | null
shippingOptionId?integer
Formatint32
storeId?integer
Formatint32
currency?string | null
deliveryOptions?string | null
basketGuid?string | null
shippingCost?number
Formatdouble
startedDay?string | null
Formatdate-time
siteName?string | null
giftCardAmount?number
Formatdouble
userAgent?string | null
deliveryAmount?number
Formatdouble
deliveryInstructions?string | null
ipAddress?string | null
statedDay?string | null
Formatdate-time
referrer?string | null
referencePrefix?string | null
vatRate?number
Formatdouble
server?string | null

Response Body

curl -X POST "https://loading/v1/orders" \  -H "Content-Type: application/json" \  -d '{}'
{
  "success": true,
  "errors": [
    {
      "description": "string"
    }
  ],
  "orderReference": "string",
  "orderId": 0,
  "orderTotal": 0.1,
  "amountToPay": 0.1
}
{
  "message": "string",
  "code": 0
}
{
  "succeeded": true,
  "errors": [
    {
      "message": "string"
    }
  ]
}

How is this guide?