SKUs
List SKUs
Retrieves a paginated list of SKUs with their variant and product information, including all attributes. Supports filtering via the search parameter.
Authorization<token>
API key authentication using Bearer token format. Use: Bearer
In: header
Query Parameters
updated_after?string
Filter SKUs updated after this timestamp (RFC3339 format)
search?string
JSON search filters keyed by attribute key
search_mode?string
Filter match mode: 'all' (AND) or 'any' (OR)
Default
"\"all\""Value in
"\"all\"" | "\"any\""limit?integer
Number of results to return per page
Default
100Range
1 <= value <= 200page?integer
Page number (1-based)
Default
1Range
1 <= valueResponse Body
curl -X GET "https://api.emfas.ai/v1/skus?updated_after=string&search=string&search_mode=%22all%22&limit=100&page=1"{
"pagination": {
"limit": 100,
"page": 1,
"totalPages": 3,
"totalResults": 234
},
"result": [
{
"attributes": {
"property1": [
{
"data": null,
"locale": "en-US",
"metaobjectDefinition": "gender",
"type": "text",
"value": "Space Black"
}
],
"property2": [
{
"data": null,
"locale": "en-US",
"metaobjectDefinition": "gender",
"type": "text",
"value": "Space Black"
}
]
},
"identifier": "SKU-001",
"name": "iPhone 14 Pro 256GB Space Black",
"product": {
"identifier": "PROD-001",
"name": "iPhone 14 Pro"
},
"updatedAt": "2024-01-15T10:30:00Z",
"variant": {
"identifier": "VAR-001",
"name": "iPhone 14 Pro 256GB"
}
}
]
}{
"error": "Internal server error"
}{
"error": "Internal server error"
}{
"error": "Internal server error"
}