{
  "opencollection": "1.0.0",
  "info": {
    "name": "Optimizely Campaign REST Assets Catalog Entries API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Catalog Entries",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a catalog entry",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.campaign.episerver.net/rest/commerce/entries/:entryCode",
            "params": [
              {
                "name": "entryCode",
                "value": "",
                "type": "path",
                "description": "The unique code of the catalog entry"
              }
            ]
          },
          "docs": "Retrieves a specific catalog entry (product, variant, package, or bundle) by its code."
        },
        {
          "info": {
            "name": "Update a catalog entry",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.campaign.episerver.net/rest/commerce/entries/:entryCode",
            "params": [
              {
                "name": "entryCode",
                "value": "",
                "type": "path",
                "description": "The unique code of the catalog entry"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the specified catalog entry with the provided fields."
        },
        {
          "info": {
            "name": "Delete a catalog entry",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.campaign.episerver.net/rest/commerce/entries/:entryCode",
            "params": [
              {
                "name": "entryCode",
                "value": "",
                "type": "path",
                "description": "The unique code of the catalog entry"
              }
            ]
          },
          "docs": "Permanently deletes the specified catalog entry."
        },
        {
          "info": {
            "name": "Update catalog entry common draft",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.campaign.episerver.net/rest/commerce/entries/:entryCode/commondraft/:language",
            "params": [
              {
                "name": "entryCode",
                "value": "",
                "type": "path",
                "description": "The unique code of the catalog entry"
              },
              {
                "name": "language",
                "value": "",
                "type": "path",
                "description": "The language code for the content version"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the common draft version of a catalog entry for the specified language."
        }
      ]
    }
  ],
  "bundled": true
}