{
  "info": {
    "_postman_id": "ac64ee97-bd67-443d-99df-2233b86147d5",
    "name": "Optimizely Campaign REST Assets Customers 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:04.000Z",
    "updatedAt": "2026-07-28T02:27:04.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-ac64ee97-bd67-443d-99df-2233b86147d5"
  },
  "item": [
    {
      "name": "commerce",
      "item": [
        {
          "name": "customers",
          "item": [
            {
              "name": "{customerId}",
              "item": [
                {
                  "name": "Get a customer",
                  "id": "87b60eb1-9c60-440f-892e-af382c3df4c3",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/commerce/customers/:customerId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "commerce",
                        "customers",
                        ":customerId"
                      ],
                      "variable": [
                        {
                          "id": "3254e951-dfb4-4be7-a574-d8dbfcc22038",
                          "key": "customerId",
                          "value": "<string>",
                          "description": "(Required) The unique identifier for the customer"
                        }
                      ]
                    },
                    "description": "Retrieves the details of a specific customer account."
                  },
                  "response": [
                    {
                      "id": "dd62c483-bf82-4153-b2a5-c959c771881a",
                      "name": "Successfully retrieved the customer",
                      "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/customers/:customerId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "commerce",
                            "customers",
                            ":customerId"
                          ],
                          "variable": [
                            {
                              "key": "customerId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"customer_id\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"email\": \"<email>\",\n  \"registration_date\": \"<dateTime>\"\n}",
                      "createdAt": "2026-07-28T02:27:05.000Z",
                      "updatedAt": "2026-07-28T02:27:05.000Z",
                      "uid": "35240-dd62c483-bf82-4153-b2a5-c959c771881a"
                    },
                    {
                      "id": "6bab4487-206e-45b2-bb66-0eca72aab16b",
                      "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/customers/:customerId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "commerce",
                            "customers",
                            ":customerId"
                          ],
                          "variable": [
                            {
                              "key": "customerId"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T02:27:05.000Z",
                      "updatedAt": "2026-07-28T02:27:05.000Z",
                      "uid": "35240-6bab4487-206e-45b2-bb66-0eca72aab16b"
                    },
                    {
                      "id": "ed2bf59c-617e-4ec6-af80-726f5b0b503e",
                      "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/customers/:customerId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "commerce",
                            "customers",
                            ":customerId"
                          ],
                          "variable": [
                            {
                              "key": "customerId"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T02:27:05.000Z",
                      "updatedAt": "2026-07-28T02:27:05.000Z",
                      "uid": "35240-ed2bf59c-617e-4ec6-af80-726f5b0b503e"
                    }
                  ],
                  "createdAt": "2026-07-28T02:27:05.000Z",
                  "updatedAt": "2026-07-28T02:27:05.000Z",
                  "uid": "35240-87b60eb1-9c60-440f-892e-af382c3df4c3"
                }
              ],
              "id": "9f42107e-058f-45e2-bf9b-3d980068479b",
              "createdAt": "2026-07-28T02:27:05.000Z",
              "updatedAt": "2026-07-28T02:27:05.000Z",
              "uid": "35240-9f42107e-058f-45e2-bf9b-3d980068479b"
            }
          ],
          "id": "b0258c30-5fba-4b39-8403-7a62c7396fad",
          "createdAt": "2026-07-28T02:27:05.000Z",
          "updatedAt": "2026-07-28T02:27:05.000Z",
          "uid": "35240-b0258c30-5fba-4b39-8403-7a62c7396fad"
        }
      ],
      "id": "41137a26-75c5-48db-a25f-29641a32def2",
      "createdAt": "2026-07-28T02:27:05.000Z",
      "updatedAt": "2026-07-28T02:27:05.000Z",
      "uid": "35240-41137a26-75c5-48db-a25f-29641a32def2"
    }
  ],
  "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"
    }
  ]
}