Skip to main content

Get all Custom Fields

GET 

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

Get all Custom Fields

Filtering

The following operators and attributes are available for filtering Custom Fields:

AttributeOperatorsExample
nameeq,likeeq(name,"Last Name")
descriptioneq,likelike(description,*confidential*)
slugeq,like,inlike(slug,*private*)
field_typeeq,ineq(field_type,string)
idlt,le,eq,gt,ge,ineq(id,859aeba1-03c2-4822-bd4c-89afce93d7eb)
created_atlt,le,eq,gt,gege(created_at,2024-04-29T00:00:00.000Z)
updated_atlt,le,eq,gt,gele(updated_at,2024-04-29T00:00:00.000Z)

Sorting

The following attributes are available for sorting. When specified, the results are sorted in ascending order based on the value of the field. To sort in descending order, prefix the attribute with -, for example, -updated_at. The default sort order is created_at in descending order.

  • name
  • slug
  • field_type
  • id
  • created_at
  • updated_at

Request

Responses

OK

Authorization: http

name: bearerAuthtype: httpscheme: bearer

Request Collapse all
Base URL
https://useast.api.elasticpath.com
Auth
Parameters
— pathrequired
— query
— query
— query
— query
ResponseClear

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

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.