1. Docs
  2. orders

Orders API

Welcome to the documentation for the Orders API. This section provides detailed information on various API endpoints related to managing orders within the Management Software system. Orders are essential components in tracking sales opportunities and managing your sales pipeline efficiently.

Add new Order

The "Add New Order" endpoint allows you to create a new order within the Management Software system. This functionality enables you to record and track new sales opportunities as they arise.

Responses

Status (2XX): Success

Order status updated successfully.

Status (401): Unauthorized

Authentication token is missing or is invalid

Status (404): Bad request

Order does not exist.


Update Order

The "Update Order" endpoint, similar to "Add New Order," uses PATCH instead of POST to modify an existing order. Include the order number in the request body.

Responses

Status (2XX): Success

Order status updated successfully.

Status (401): Unauthorized

Authentication token is missing or is invalid

Status (404): Bad request

Order does not exist.


Update Order stage

Changes the stage of an order within the pipeline.

Responses

Status (2XX): Success

Order order updated successfully.

Status (401): Unauthorized

Authentication token is missing or is invalid

Status (404): Bad request

Order does not exist.


Add Delivery Man

Assign a delivery man to a specific order. You can either provide only the delivery man's ID or submit full delivery man details (phone & name).

Responses

Status (2XX): Success

Order order updated successfully.

Status (401): Unauthorized

Authentication token is missing or is invalid

Status (404): Bad request

Order does not exist.