Get the brand widget configuration (widget)
Headers
-
The domain of the user
GET /widget/config
curl \
-X GET https://domain.tld/api/v2/widget/config \
-H "X-Popsell-Domain: example.com"
Response examples (200)
{
"global": {
"signInUrl": "string",
"signUpUrl": "string",
"ambassadorProfileUrl": "string",
"ambassadorProfilePostUrl": "string",
"ambassadorPresentationUrl": "string",
"customContactUrl": "string",
"assetsFolderName": "string",
"redirectUrl": "string",
"defaultLanguage": "string",
"sandboxUrl": "string"
},
"community": {
"defaultGeolocation": [
{}
],
"locationType": "string",
"defaultSortBy": 42
},
"im": {
"chattopic": 42
},
"picking": {
"imageSelector": "string",
"nameSelector": "string",
"priceSelector": "string",
"skuSelector": "string"
}
}
Response examples (401)
{
"message": "Unauthorized."
}