query

customFieldsByResource

Generic query to get custom fields for any resource type(s). Maximum 100 resourceIds and 100 namespaces are supported at a time.
Arguments
resource
String!
Required
Resource type. Supported types: product, store, bag, promotion, coupon
resourceId
String
Single resource ID for fetching fields of one resource
resourceIds
[String!]
Multiple resource IDs for bulk fetching (maximum 100 allowed)
Filter by specific custom field keys
namespaces
[String!]
Filter by specific namespaces (maximum 100 allowed)
Response
Query
Loading...
Try it
Input Variables
Loading...
Response
Loading...