This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
en:serialnum [2023/10/26 11:36] support |
en:serialnum [2023/10/26 11:37] support |
</WRAP> | </WRAP> |
| |
>**POST** indicates that you are creating a new object (in this case, a new order item).. | >**POST** indicates that you are creating a new object (in this case, a new order item). |
>**Headers** include accept and **Content-Type** to specify the data format, and **Authorization** for authentication using your token. | >**Headers** include accept and **Content-Type** to specify the data format, and **Authorization** for authentication using your token. |
>**Body** contains the data you send in the request. In this case, you specify the **order_id** (order ID), **product_id** (product ID), **quantity** (quantity of the product), and **serial_num** (serial number of the product). | >**Body** contains the data you send in the request. In this case, you specify the **order_id** (order ID), **product_id** (product ID), **quantity** (quantity of the product), and **serial_num** (serial number of the product). |
>This request will create a new order item with the specified serial number for the product.. | >This request will create a new order item with the specified serial number for the product. |
| |
===== Obtaining product serial numbers through API. ===== | ===== Obtaining product serial numbers through API. ===== |