POST
/
orders
/
{order-number}
/
activity
curl --request POST \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/orders/{order-number}/activity \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "comment": "<string>"
}'
{
  "message": "<string>",
  "success": true,
  "activity": [
    {
      "activity_type": "<string>",
      "order_status": "<string>",
      "comment": "<string>",
      "user_type": "customer",
      "user_name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "modified_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "total_records": 123,
    "total_pages": 123,
    "previous_page": "<any>",
    "limit": 123,
    "next_page": "<any>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

order-number
string
required

order number

Body

application/json
comment
string
required

Response

200 - application/json
OK
message
string
success
boolean
activity
object[]
pagination
object

pagination metadata structure