{ "opencollection": "1.0.0", "info": { "name": "Addresses Introduction Account Addresses Fields API", "version": "25.1126.6886238" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Fields", "type": "folder" }, "items": [ { "info": { "name": "Get all Fields", "type": "http" }, "http": { "method": "GET", "url": "https://useast.api.elasticpath.com/v2/fields" }, "docs": "- For Commerce, this endpoint retrieves all fields in a flow. \n- For Product Experience Manager, this endpoint retrieves all attributes in a template.\n" }, { "info": { "name": "Create a Field", "type": "http" }, "http": { "method": "POST", "url": "https://useast.api.elasticpath.com/v2/fields", "body": { "type": "json", "data": "{}" } }, "docs": "- For Commerce, this endpoint creates a field.\n- For Product Experience Manager, this endpoint creates an attribute.\n" }, { "info": { "name": "Get a Field", "type": "http" }, "http": { "method": "GET", "url": "https://useast.api.elasticpath.com/v2/fields/:flowFieldID", "params": [ { "name": "flowFieldID", "value": "", "type": "path", "description": "The unique identifier of the flow/template whose field/attribute you want to retrieve." } ] }, "docs": "- For Commerce, this endpoint retrieves a field.\n- For Product Experience Manager, this endpoint retrieves an attribute.\n" }, { "info": { "name": "Update a Field", "type": "http" }, "http": { "method": "PUT", "url": "https://useast.api.elasticpath.com/v2/fields/:flowFieldID", "params": [ { "name": "flowFieldID", "value": "", "type": "path", "description": "The unique identifier for the flow/template to which the field/attribute you want to update belongs." } ], "body": { "type": "json", "data": "{}" } }, "docs": "- For Commerce, this endpoint updates a field.\n- For Product Experience Manager, this endpoint updates an attribute.\n\nSpecify whichever attributes you want to change. The values of the other attributes remain the same. If the attributes section is empty, the field/attribute is not updated.\n" }, { "info": { "name": "Delete a Field", "type": "http" }, "http": { "method": "DELETE", "url": "https://useast.api.elasticpath.com/v2/fields/:flowFieldID", "params": [ { "name": "flowFieldID", "value": "", "type": "path", "description": "The unique identifier of the field/attribute that you want to delete." } ] }, "docs": "- For Commerce, this endpoint deletes a field.\n- For Product Experience Manager, this endpoint deletes an attribute.\n" }, { "info": { "name": "Get all Fields by Flow", "type": "http" }, "http": { "method": "GET", "url": "https://useast.api.elasticpath.com/v2/flows/:flowSlug/fields", "params": [ { "name": "flowSlug", "value": "", "type": "path", "description": "The slug of the flow the entry belongs to." } ] }, "docs": "Get all Fields by Flow" } ] } ], "bundled": true }