Skip to content

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

Update AutoSKU

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

Use this call to update the configuration or operational status of an existing AutoSKU enrollment. Setting a user’s status to Inactive will temporarily suspend their daily AutoSKU processing.

FieldTypeRequirementDescription
UsernameStringRequiredA unique username identifying the merchant.
IDNumberStringOptionalThe ID number of the user.
StatusStringOptionalThe operational status (Active or Inactive).
MetadataStringOptionalAny other detail that you wish to store with this configuration.
{
"Username": "celbuxMerchant",
"IDNumber": "",
"Status": "Inactive",
"Metadata": "{\"ActorUserIDs\": \"547828938941114\"}"
}
Terminal window
curl -X POST '{api-url}/updateAutoSKU?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"Username":"celbuxMerchant","IDNumber":"","Status":"Inactive","Metadata":"{\"ActorUserIDs\": \"547828938941114\"}"}'