question

tickettenterprises avatar image
tickettenterprises asked ·

Add a device ID to an order made through the REST API

We are creating orders through the API and would like to assign them to a default device. But I have so far been unable to create or update an order with a device id when using the REST API.
OrdersREST API
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

zgreathouse avatar image
zgreathouse answered ·
An order created with the Rest API cannot have a device. This is because the order was created online. For an order to have a device it must be created on a clover device. Additionally, the device field of an order cannot be updated.
Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community