Skip to content

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

Create AutoSKU

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

Use this call to enroll a specific Merchant for daily SKU splits. This tells the daily Cron job to actively monitor and evaluate this user’s transactions for the AutoSKU engine.

FieldTypeRequirementDescription
UsernameStringRequiredA unique username identifying the merchant to enroll.
IDNumberStringOptionalThe ID number of the user (for additional verification).
MetadataStringOptionalAny other detail that you wish to store with this configuration.
{
"Username": "celbuxMerchant",
"IDNumber": "",
"Metadata": "{\"Enrolling\": \"merchant in AutoSKU\"}"
}
Terminal window
curl -X POST '{api-url}/createAutoSKU?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"Username":"celbuxMerchant","IDNumber":"","Metadata":"{\"Enrolling\": \"merchant in AutoSKU\"}"}'