---
title: "Creates new or updates existing order(s)"
method: POST
path: "/orders/"
tags: ["orders"]
---

# Creates new or updates existing order(s)

`POST /orders/`

## Request

- Base URL: `https://api.autron.ai`
- URL: `https://api.autron.ai/orders/`
- Auth: API key in header `Authorization`

## Request body

- Order[]
  - `public_id` string, required: unique order public id
  - `amazon_order_id` string: amazon fba order id
  - `merchant_order_id` string: amazon merchant order id
  - `payments_date` string, date-time: amazon order payment timestamp with timezone
  - `purchase_date` string, date-time: amazon order purchase timestamp with timezone
  - `reporting_date` string, date-time: amazon order reporting timestamp with timezone
  - `bill_address_1` string: amazon order billing address 1
  - `bill_address_2` string: amazon order billing address 2
  - `bill_address_3` string: amazon order billing address 3
  - `bill_city` string: amazon order billing city
  - `bill_state` string: amazon order billing state
  - `bill_postal_code` string: amazon order billing zip code
  - `bill_country` string: amazon order billing country
  - `currency` string: amazon order currency
  - `fulfillment_channel` string: amazon order fulfillment channel
  - `sales_channel` string: amazon order sales channel
  - `ship_service_level` string: amazon order shipping service level
  - `recipient_name` string: amazon order recipient name
  - `ship_phone_number` string: amazon order shipping phone number
  - `ship_address_1` string: amazon order shipping address 1
  - `ship_address_2` string: amazon order shipping address 2
  - `ship_address_3` string: amazon order shipping address 3
  - `ship_city` string: amazon order shipping city
  - `ship_state` string: amazon order shipping state
  - `ship_postal_code` string: amazon order shipping zip code
  - `ship_country` string: amazon order shipping country
  - `item_total` number: amazon order item total
  - `tax_total` number: amazon order tax total
  - `promotion_total` number: amazon order promotion total
  - `shipping_total` number: amazon order shipping total
  - `grand_total` number: amazon order grand total
  - `gross_total` number: amazon order internal gross total (= item_total)
  - `net_total` number: amazon order internal net total (= item_total - item_promotion_total)
  - `customer_id` string: customer identifier
  - `seller_selling_partner_id` string: amazon seller id
  - `marketplace_marketplace_id` string: amazon marketplace id
  - `items` Item[]
    - `amazon_order_item_id` string: amazon fba order item id
    - `merchant_order_item_id` string: amazon merchant order item id
    - `item_price` number: amazon order item price
    - `item_tax` number: amazon order item tax
    - `item_promotion_discount` number: amazon order item promotion discount
    - `ship_promotion_discount` number: amazon order shipping promotion discount
    - `gift_wrap_price` number: amazon order item gift wrap price
    - `gift_wrap_tax` number: amazon order item gift wrap tax
    - `shipping_price` number: amazon order item shipping price
    - `shipping_tax` number: amazon order item shipping tax
    - `product_name` string: amazon order item product name
    - `product_sku` string: amazon merchant order item product sku
    - `carrier` string: amazon order item carrier
    - `fulfillment_center_id` string: amazon order item fulfillment center id
    - `estimated_arrival_date` string, date-time: amazon order item estimated arrival timestamp with timezone
    - `shipment_date` string, date-time: amazon order item shipment timestamp with timezone
    - `quantity_shipped` number: amazon order item quantity
    - `shipment_id` string: amazon order item shipment id
    - `shipment_item_id` string: amazon order item shipment item id
    - `tracking_number` string: amazon order item tracking number
    - `order_id` string: order identifier
    - `seller_selling_partner_id` string: amazon seller id
    - `marketplace_marketplace_id` string: amazon marketplace id

## Response `200`

Success

---

[API](https://skmtc.dev/autron/apis/autron-api.md) · [All operations](https://skmtc.dev/autron/apis/autron-api/llms.txt) · [OpenAPI document](https://skmtc.dev/autron/apis/autron-api/revisions/f696bfa7295f?raw)
