{
  "info": {
    "_postman_id": "78536876-92a3-4a65-81e2-5a1b69301f3f",
    "name": "Optimizely Campaign REST Assets Orders API",
    "description": "The Optimizely Campaign REST API provides programmatic access to Optimizely's email and omnichannel campaign management capabilities. Developers can use the API to manage campaigns, recipients, mailing lists, smart campaigns, transactional mails, and messaging workflows. The API is hosted at api.campaign.episerver.net and supports automation of marketing campaign operations, enabling integration with external systems and custom marketing workflows. The base URL includes the client ID for multi-tenant access.\n\nContact Support:\n Name: Optimizely Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:27:30.000Z",
    "updatedAt": "2026-07-28T02:27:30.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-78536876-92a3-4a65-81e2-5a1b69301f3f"
  },
  "item": [
    {
      "name": "commerce",
      "item": [
        {
          "name": "orders",
          "item": [
            {
              "name": "{customerId}",
              "item": [
                {
                  "name": "all",
                  "item": [
                    {
                      "name": "List customer orders",
                      "id": "455140ca-0d65-469f-a6e8-087894238178",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/commerce/orders/:customerId/all",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "commerce",
                            "orders",
                            ":customerId",
                            "all"
                          ],
                          "variable": [
                            {
                              "id": "c17745ba-a3dc-4181-8607-2c5a76e4e66e",
                              "key": "customerId",
                              "value": "<string>",
                              "description": "(Required) The unique identifier for the customer"
                            }
                          ]
                        },
                        "description": "Returns all orders for a specific customer."
                      },
                      "response": [
                        {
                          "id": "8027d778-d0b7-42ef-ae70-f66027bcd22b",
                          "name": "Successfully retrieved customer orders",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: basic",
                                "key": "Authorization",
                                "value": "Basic <credentials>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/commerce/orders/:customerId/all",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "commerce",
                                "orders",
                                ":customerId",
                                "all"
                              ],
                              "variable": [
                                {
                                  "key": "customerId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "[\n  {\n    \"order_group_id\": \"<long>\",\n    \"customer_id\": \"<string>\",\n    \"customer_name\": \"<string>\",\n    \"status\": \"<string>\",\n    \"total\": \"<number>\",\n    \"currency\": \"<string>\",\n    \"created\": \"<dateTime>\",\n    \"modified\": \"<dateTime>\",\n    \"order_forms\": [\n      {\n        \"line_items\": [\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          },\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          }\n        ]\n      },\n      {\n        \"line_items\": [\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          },\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          }\n        ]\n      }\n    ]\n  },\n  {\n    \"order_group_id\": \"<long>\",\n    \"customer_id\": \"<string>\",\n    \"customer_name\": \"<string>\",\n    \"status\": \"<string>\",\n    \"total\": \"<number>\",\n    \"currency\": \"<string>\",\n    \"created\": \"<dateTime>\",\n    \"modified\": \"<dateTime>\",\n    \"order_forms\": [\n      {\n        \"line_items\": [\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          },\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          }\n        ]\n      },\n      {\n        \"line_items\": [\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          },\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          }\n        ]\n      }\n    ]\n  }\n]",
                          "createdAt": "2026-07-28T02:27:30.000Z",
                          "updatedAt": "2026-07-28T02:27:30.000Z",
                          "uid": "35240-8027d778-d0b7-42ef-ae70-f66027bcd22b"
                        },
                        {
                          "id": "80084f08-9510-4e73-ba5f-0ca865eba3e0",
                          "name": "Authentication credentials are missing or invalid",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: basic",
                                "key": "Authorization",
                                "value": "Basic <credentials>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/commerce/orders/:customerId/all",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "commerce",
                                "orders",
                                ":customerId",
                                "all"
                              ],
                              "variable": [
                                {
                                  "key": "customerId"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T02:27:30.000Z",
                          "updatedAt": "2026-07-28T02:27:30.000Z",
                          "uid": "35240-80084f08-9510-4e73-ba5f-0ca865eba3e0"
                        },
                        {
                          "id": "75fda1ce-596d-4cd4-861b-76fee61211cb",
                          "name": "Customer not found",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: basic",
                                "key": "Authorization",
                                "value": "Basic <credentials>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/commerce/orders/:customerId/all",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "commerce",
                                "orders",
                                ":customerId",
                                "all"
                              ],
                              "variable": [
                                {
                                  "key": "customerId"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T02:27:30.000Z",
                          "updatedAt": "2026-07-28T02:27:30.000Z",
                          "uid": "35240-75fda1ce-596d-4cd4-861b-76fee61211cb"
                        }
                      ],
                      "createdAt": "2026-07-28T02:27:30.000Z",
                      "updatedAt": "2026-07-28T02:27:30.000Z",
                      "uid": "35240-455140ca-0d65-469f-a6e8-087894238178"
                    }
                  ],
                  "id": "b5f0343d-baf0-4fd0-b524-540745b08fd3",
                  "createdAt": "2026-07-28T02:27:30.000Z",
                  "updatedAt": "2026-07-28T02:27:30.000Z",
                  "uid": "35240-b5f0343d-baf0-4fd0-b524-540745b08fd3"
                }
              ],
              "id": "1d214c88-38a5-43a7-80ce-8b0c2dc833e0",
              "createdAt": "2026-07-28T02:27:30.000Z",
              "updatedAt": "2026-07-28T02:27:30.000Z",
              "uid": "35240-1d214c88-38a5-43a7-80ce-8b0c2dc833e0"
            },
            {
              "name": "{orderGroupId}",
              "item": [
                {
                  "name": "Get an order",
                  "id": "fee1752a-dd57-47ad-8030-392d2dc5f592",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/commerce/orders/:orderGroupId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "commerce",
                        "orders",
                        ":orderGroupId"
                      ],
                      "variable": [
                        {
                          "id": "af9a58b8-a8ab-435a-bb7b-c8e29c914dac",
                          "key": "orderGroupId",
                          "value": "<long>",
                          "description": "(Required) The unique identifier for the order group"
                        }
                      ]
                    },
                    "description": "Retrieves a specific order by its order group identifier."
                  },
                  "response": [
                    {
                      "id": "267b8688-0917-486d-8bd1-24ca041a9680",
                      "name": "Successfully retrieved the order",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: basic",
                            "key": "Authorization",
                            "value": "Basic <credentials>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/commerce/orders/:orderGroupId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "commerce",
                            "orders",
                            ":orderGroupId"
                          ],
                          "variable": [
                            {
                              "key": "orderGroupId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"order_group_id\": \"<long>\",\n  \"customer_id\": \"<string>\",\n  \"customer_name\": \"<string>\",\n  \"status\": \"<string>\",\n  \"total\": \"<number>\",\n  \"currency\": \"<string>\",\n  \"created\": \"<dateTime>\",\n  \"modified\": \"<dateTime>\",\n  \"order_forms\": [\n    {\n      \"line_items\": [\n        {\n          \"catalog_entry_id\": \"<string>\",\n          \"display_name\": \"<string>\",\n          \"quantity\": \"<number>\",\n          \"placed_price\": \"<number>\"\n        },\n        {\n          \"catalog_entry_id\": \"<string>\",\n          \"display_name\": \"<string>\",\n          \"quantity\": \"<number>\",\n          \"placed_price\": \"<number>\"\n        }\n      ]\n    },\n    {\n      \"line_items\": [\n        {\n          \"catalog_entry_id\": \"<string>\",\n          \"display_name\": \"<string>\",\n          \"quantity\": \"<number>\",\n          \"placed_price\": \"<number>\"\n        },\n        {\n          \"catalog_entry_id\": \"<string>\",\n          \"display_name\": \"<string>\",\n          \"quantity\": \"<number>\",\n          \"placed_price\": \"<number>\"\n        }\n      ]\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T02:27:30.000Z",
                      "updatedAt": "2026-07-28T02:27:30.000Z",
                      "uid": "35240-267b8688-0917-486d-8bd1-24ca041a9680"
                    },
                    {
                      "id": "93de9729-1918-4cb4-a0e8-98a36418825c",
                      "name": "Authentication credentials are missing or invalid",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: basic",
                            "key": "Authorization",
                            "value": "Basic <credentials>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/commerce/orders/:orderGroupId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "commerce",
                            "orders",
                            ":orderGroupId"
                          ],
                          "variable": [
                            {
                              "key": "orderGroupId"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T02:27:30.000Z",
                      "updatedAt": "2026-07-28T02:27:30.000Z",
                      "uid": "35240-93de9729-1918-4cb4-a0e8-98a36418825c"
                    },
                    {
                      "id": "9fb589df-f05a-4f4b-ad7e-9efb4b7a0871",
                      "name": "Order not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: basic",
                            "key": "Authorization",
                            "value": "Basic <credentials>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/commerce/orders/:orderGroupId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "commerce",
                            "orders",
                            ":orderGroupId"
                          ],
                          "variable": [
                            {
                              "key": "orderGroupId"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T02:27:30.000Z",
                      "updatedAt": "2026-07-28T02:27:30.000Z",
                      "uid": "35240-9fb589df-f05a-4f4b-ad7e-9efb4b7a0871"
                    }
                  ],
                  "createdAt": "2026-07-28T02:27:30.000Z",
                  "updatedAt": "2026-07-28T02:27:30.000Z",
                  "uid": "35240-fee1752a-dd57-47ad-8030-392d2dc5f592"
                }
              ],
              "id": "17d294b5-50a5-4cc4-b58e-639517a5c681",
              "createdAt": "2026-07-28T02:27:30.000Z",
              "updatedAt": "2026-07-28T02:27:30.000Z",
              "uid": "35240-17d294b5-50a5-4cc4-b58e-639517a5c681"
            },
            {
              "name": "search",
              "item": [
                {
                  "name": "{start}",
                  "item": [
                    {
                      "name": "{maxCount}",
                      "item": [
                        {
                          "name": "Search orders",
                          "id": "82fdcc0e-30d5-4341-b862-755602114fa6",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/commerce/orders/search/:start/:maxCount",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "commerce",
                                "orders",
                                "search",
                                ":start",
                                ":maxCount"
                              ],
                              "variable": [
                                {
                                  "id": "14cc7db0-4ce8-49e8-bad1-d28a7a927d07",
                                  "key": "start",
                                  "value": "<integer>",
                                  "description": "(Required) Starting index for results"
                                },
                                {
                                  "id": "2d57e547-9d28-4eff-8a4d-f00a3cd2457d",
                                  "key": "maxCount",
                                  "value": "<integer>",
                                  "description": "(Required) Maximum number of results to return"
                                }
                              ]
                            },
                            "description": "Searches for orders with pagination support."
                          },
                          "response": [
                            {
                              "id": "0e31e621-286d-463f-a33c-96d429c15fe5",
                              "name": "Successfully retrieved search results",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: basic",
                                    "key": "Authorization",
                                    "value": "Basic <credentials>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/commerce/orders/search/:start/:maxCount",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "commerce",
                                    "orders",
                                    "search",
                                    ":start",
                                    ":maxCount"
                                  ],
                                  "variable": [
                                    {
                                      "key": "start"
                                    },
                                    {
                                      "key": "maxCount"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "[\n  {\n    \"order_group_id\": \"<long>\",\n    \"customer_id\": \"<string>\",\n    \"customer_name\": \"<string>\",\n    \"status\": \"<string>\",\n    \"total\": \"<number>\",\n    \"currency\": \"<string>\",\n    \"created\": \"<dateTime>\",\n    \"modified\": \"<dateTime>\",\n    \"order_forms\": [\n      {\n        \"line_items\": [\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          },\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          }\n        ]\n      },\n      {\n        \"line_items\": [\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          },\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          }\n        ]\n      }\n    ]\n  },\n  {\n    \"order_group_id\": \"<long>\",\n    \"customer_id\": \"<string>\",\n    \"customer_name\": \"<string>\",\n    \"status\": \"<string>\",\n    \"total\": \"<number>\",\n    \"currency\": \"<string>\",\n    \"created\": \"<dateTime>\",\n    \"modified\": \"<dateTime>\",\n    \"order_forms\": [\n      {\n        \"line_items\": [\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          },\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          }\n        ]\n      },\n      {\n        \"line_items\": [\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          },\n          {\n            \"catalog_entry_id\": \"<string>\",\n            \"display_name\": \"<string>\",\n            \"quantity\": \"<number>\",\n            \"placed_price\": \"<number>\"\n          }\n        ]\n      }\n    ]\n  }\n]",
                              "createdAt": "2026-07-28T02:27:30.000Z",
                              "updatedAt": "2026-07-28T02:27:30.000Z",
                              "uid": "35240-0e31e621-286d-463f-a33c-96d429c15fe5"
                            },
                            {
                              "id": "39d6abd8-6006-45c6-8ffb-ecb8a6f5ec17",
                              "name": "Authentication credentials are missing or invalid",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "description": "Added as a part of security scheme: basic",
                                    "key": "Authorization",
                                    "value": "Basic <credentials>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/commerce/orders/search/:start/:maxCount",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "commerce",
                                    "orders",
                                    "search",
                                    ":start",
                                    ":maxCount"
                                  ],
                                  "variable": [
                                    {
                                      "key": "start"
                                    },
                                    {
                                      "key": "maxCount"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-07-28T02:27:30.000Z",
                              "updatedAt": "2026-07-28T02:27:30.000Z",
                              "uid": "35240-39d6abd8-6006-45c6-8ffb-ecb8a6f5ec17"
                            }
                          ],
                          "createdAt": "2026-07-28T02:27:30.000Z",
                          "updatedAt": "2026-07-28T02:27:30.000Z",
                          "uid": "35240-82fdcc0e-30d5-4341-b862-755602114fa6"
                        }
                      ],
                      "id": "48856ed9-91fd-4427-a85a-6a320f848942",
                      "createdAt": "2026-07-28T02:27:30.000Z",
                      "updatedAt": "2026-07-28T02:27:30.000Z",
                      "uid": "35240-48856ed9-91fd-4427-a85a-6a320f848942"
                    }
                  ],
                  "id": "76430385-fc68-4290-be74-96e25d5e6e06",
                  "createdAt": "2026-07-28T02:27:30.000Z",
                  "updatedAt": "2026-07-28T02:27:30.000Z",
                  "uid": "35240-76430385-fc68-4290-be74-96e25d5e6e06"
                }
              ],
              "id": "8287c98a-2e03-48d8-b46d-d4c6ec70a605",
              "createdAt": "2026-07-28T02:27:30.000Z",
              "updatedAt": "2026-07-28T02:27:30.000Z",
              "uid": "35240-8287c98a-2e03-48d8-b46d-d4c6ec70a605"
            }
          ],
          "id": "9539b12b-e806-4126-a27d-226401c90adb",
          "createdAt": "2026-07-28T02:27:30.000Z",
          "updatedAt": "2026-07-28T02:27:30.000Z",
          "uid": "35240-9539b12b-e806-4126-a27d-226401c90adb"
        }
      ],
      "id": "0b8f592e-6fcd-40c6-b4bd-4c0f5f68850c",
      "createdAt": "2026-07-28T02:27:30.000Z",
      "updatedAt": "2026-07-28T02:27:30.000Z",
      "uid": "35240-0b8f592e-6fcd-40c6-b4bd-4c0f5f68850c"
    }
  ],
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "username",
        "value": "{{basicAuthUsername}}",
        "type": "string"
      },
      {
        "key": "password",
        "value": "{{basicAuthPassword}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.campaign.episerver.net/rest"
    }
  ]
}