{
  "opencollection": "1.0.0",
  "info": {
    "name": "Addresses Introduction Account Addresses Flows API",
    "version": "25.1126.6886238"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Flows",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all Flows",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://useast.api.elasticpath.com/v2/flows"
          },
          "docs": "- For Commerce, this endpoint retrieves a list of flows.\n- For Product Experience Manager, this endpoint retrieves a list of templates.\n"
        },
        {
          "info": {
            "name": "Create a Flow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://useast.api.elasticpath.com/v2/flows",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "- For Commerce, this endpoint creates a flow.\n- For Product Experience Manager, this endpoint creates a template.\n\n:::caution\n\nCustom names and values prefixed with $ are not supported.\n\n:::\n"
        },
        {
          "info": {
            "name": "Get a Flow",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://useast.api.elasticpath.com/v2/flows/:flowID",
            "params": [
              {
                "name": "flowID",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the flow/template you want to retrieve."
              }
            ]
          },
          "docs": "- For Commerce, this endpoint retrieves a flow.\n- For Product Experience Manager, this endpoint retrieves a template.\n"
        },
        {
          "info": {
            "name": "Update a Flow",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://useast.api.elasticpath.com/v2/flows/:flowID",
            "params": [
              {
                "name": "flowID",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the flow/template you want to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "- For Commerce, this endpoint updates a flow. \n- For Product Experience Manager, this endpoint updates a template. \n\n Specify whichever attributes you want to change. The values of the other attributes remain the same. If the attributes section is empty, the flow/template is not updated.\n"
        },
        {
          "info": {
            "name": "Delete a Flow",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://useast.api.elasticpath.com/v2/flows/:flowID",
            "params": [
              {
                "name": "flowID",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the flow/template you want to delete."
              }
            ]
          },
          "docs": "- For Commerce, this endpoint deletes a flow. We recommend that you remove all the fields assigned to a flow before deleting a flow.\n- For Product Experience Manager, this endpoint deletes a template. We recommend that you remove all the attributes assigned to a template before deleting a template.\n"
        }
      ]
    }
  ],
  "bundled": true
}