---
title: "Managing the status of the order"
method: POST
path: "/orders/status"
tags: ["Ecommerce"]
---

# Managing the status of the order

`POST /orders/status`

Manages the transactional status of the order

## Request body

- Order
  - `id` string, required — Unique ID of the order.
  - `createdAt` string, required — Event occurrence UTC date-time (YYYY-MM-DDTHH:mm:ssZ), when order is actually created.
  - `updatedAt` string, required — Event updated UTC date-time (YYYY-MM-DDTHH:mm:ssZ), when the status of the order is actually changed/updated.
  - `status` string, required — State of the order.
  - `amount` number, required — Total amount of the order, including all shipping expenses, tax and the price of items.
  - `storeId` string — ID of store where the order is placed
  - `products` OrderProducts[], required
    - `productId` string, required — ID of the product.
    - `quantity` number, required — How many pieces of the product the visitor has added to the cart.
    - `variantId` string — Product ID of the red color shirts.
    - `price` number, required — The price of a unit of product
  - `email` string — Email of the contact, Mandatory if "phone" field is not passed in "billing" parameter.
  - `billing` OrderBilling — Billing details of an order.
    - `address` string — Full billing address.
    - `city` string — Exact city of the address.
    - `countryCode` string — Billing country 2-letter ISO code.
    - `country` string — Billing country name.
    - `phone` string — Phone number to contact for further details about the order, Mandatory if "email" field is not passed.
    - `postCode` string — Postcode for delivery and billing.
    - `paymentMethod` string — How the visitor will pay for the item(s), e.g. paypal, check, etc.
    - `region` string — Exact region (state/province) for delivery and billing.
  - `coupons` string[] — Coupons applied to the order. Stored case insensitive.

## Response `204`

Order Event posted

## Other responses

- `400` — bad request

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
