Create a new order
POST /order
Use this method to create a new order.
Headers
Name
Value
Authorization
Basic <token>
Body
{
  name: string,
  is_archived?: boolean,
  account: {
    id: number, // Mandatory, accountId (looks like 1234)
    name?: string,
  },
  advertiser: {
    id: number, // Mandatory, advertiserId (looks like 1234)
    name?: string,
  }
}Response
{
    "id": number,
    "name": "string",
    "is_archived": boolean,
    "account": {
        "id": number,
        "name": string
    },
    "advertiser": {
        "id": number,
        "name": string,
    },
}{
  "missingProperty": "account.id"
}Last updated
Was this helpful?
