Skip to content

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

View SKU Splits

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

Use this call to fetch a paginated list of all the SKU split rules defined for the community.

FieldTypeRequirementDescription
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.
{
"Limit": "100",
"Sort": "desc",
"Cursor": "",
"Metadata": "{}"
}
Terminal window
curl -X POST '{api-url}/viewSKUSplits?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"Limit":"100","Sort":"desc","Cursor":"","Metadata":"{}"}'