Use Case For Fulfilling Your Sales Order

To start the sales order fulfillment process, create a fulfillment from your sales order. You can create a fulfillment by sending a POST request with the ID of the sales order you want to fulfill.

          POST {{REST_SERVICE}}/record/v1/salesorder/{{SALES_ORDER_ID}}/!transform/itemfulfillment 

        

The following code sample contains two orderLine groupings:

          {
    "item": {
        "items": [
            {
                "orderLine": 1,
                "location": 6,
                "quantity": 1
            },
            {
                "orderLine": 4,

                "location": 6,
                "itemreceive": false
            }
        ]
    }
} 

        
Note:

Like the provided code sample, your sales order may not have sequential order lines. For example, "orderLine": 4 follows "orderLine": 1 in the code sample.

To check the correct orderLine number for an item, use a GET call to retrieve the sales order item information through REST as show here:

          GET {{REST_SERVICES}}/record/v1/salesOrder/{{ID}}/item 

        

Related Topics

General Notices