Skip to main content

Create a Custom Field

POST 

https://useast.api.elasticpath.com/v2/settings/extensions/custom-apis/:custom_api_id/fields

Create a Custom Field

Request

Responses

Created

Authorization: http

name: bearerAuthtype: httpscheme: bearer

Request Collapse all
Base URL
https://useast.api.elasticpath.com
Auth
Parameters
— pathrequired
Body
{
  "data": {
    "type": "string",
    "name": "string",
    "description": "string",
    "slug": "string",
    "field_type": "string",
    "use_as_url_slug": true,
    "presentation": {
      "sort_order": 10
    },
    "validation": {
      "boolean": {
        "allow_null_values": true
      }
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!