Create Sales Order

Use this endpoint to create a new sales order.

Overview

HTTP Method: POST

Endpoint URL: https://coreapi.impexdocs.com/api/v1/salesorder

Authentication: Required

Response Format: JSON

Description

To create a Sales Order, make a POST request to the specified endpoint with the required information. The response will be a JSON object containing the following:

  • Response Code
  • Message
  • Sales Order ID

Request

To create a Sales Order, provide the following mandatory inputs in the request JSON:

  1. Order Number (order_no): The order number is the primary key used to identify each unique Sales Order in the system. It is essential for updating and retrieving data.

  2. Order Status (order_status): This field defines the status of a Sales Order. When creating a sales order, pass the default value "Created."

Response

The API will respond with a JSON object containing the following:

  • Response Code
  • Message
  • Sales Order ID

Example Response JSON

{
  "response_code": 200,
  "message": "Sales Order created successfully",
  "sales_order_id": "your_sales_order_id"
}

Note

  • Ensure proper authentication before making the request.
  • Use the Sales Order ID obtained from the response for further operations.
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!