en:serialnum

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next 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
Line 43: Line 43:
 </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. =====
Line 52: Line 52:
 >Through the API, you can retrieve serial numbers currently in stock for a specific product, ensuring accurate inventory tracking, inventory control, and fulfilling customer orders with the necessary item >Through the API, you can retrieve serial numbers currently in stock for a specific product, ensuring accurate inventory tracking, inventory control, and fulfilling customer orders with the necessary item
 >This cURL request is a GET request used to retrieve data from the specified endpoint. >This cURL request is a GET request used to retrieve data from the specified endpoint.
->This command will send a GET request to the specified API endpoint and retrieve data related to product serial numbers: https://yourwebsiteaddress.ysell.pro/api/v1/product/ExtID/serial-numbers."+>This command will send a GET request to the specified API endpoint and retrieve data related to product serial numbers: https://yourwebsiteaddress.ysell.pro/api/v1/product/ExtID/serial-numbers.
  • en/serialnum.txt
  • Last modified: 2023/11/17 09:46
  • by simon