Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

View AutoSKUs

POST {api-url}/viewAutoSKUs?ns={community}

Use this call to get a paginated list of all enrolled AutoSKU merchants on the platform.

FieldTypeRequirementDescription
FilterStringOptionalFilter the enrollments by status (Active, Inactive, All).
LimitStringOptionalAn integer to limit the quantity of responses.
SortStringOptionalSort direction (asc or desc).
CursorStringOptionalThe cursor string from a previous response to fetch the next page.
MetadataStringOptionalAny other detail that you wish to store with this event.
{
"Filter": "All",
"Limit": "100",
"Sort": "desc",
"Cursor": "",
"Metadata": "{}"
}
Terminal window
curl -X POST '{api-url}/viewAutoSKUs?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"Filter":"All","Limit":"100","Sort":"desc","Cursor":"","Metadata":"{}"}'