This API endpoint /api/docs/order-status provides information about the status of an order. You can use this endpoint to check if an order has been placed, processed, or shipped.

Usage

To retrieve the order status, make a GET request to /api/docs/order-status with the order ID as a query parameter. For example:

GET /api/docs/order-status?order_id=123456789

Response

The response will be in JSON format and will contain the following fields:

  • status: The current status of the order (e.g., "pending", "processing", "shipped", "delivered").
  • order_id: The unique identifier for the order.
  • created_at: The date and time when the order was created.
  • updated_at: The date and time when the order status was last updated.

Example response:

{
  "status": "shipped",
  "order_id": "123456789",
  "created_at": "2023-04-01T12:00:00Z",
  "updated_at": "2023-04-02T09:00:00Z"
}

Related Links

For more information about our API, please visit our API Documentation.

Golden_Retriever