Skip to content

Get widget config definitions

GET
/merchants/{merchantCode}/shops/{shopCode}/widgetConfigDefinitions
curl --request GET \
--url 'https://cms.shopgate.io/v1/merchants/example/shops/example/widgetConfigDefinitions?limit=100&offset=0'

Returns the list of available widgets and their configuration schemas for the specified shop and locale.

merchantCode
required
string
<= 255 characters
shopCode
required
string
<= 255 characters
localeCode
string
<= 5 characters

Locale code to change the language of the name, descriptions, properties and media

limit
integer
default: 100 >= 1 <= 100

The limit of entries of one page

offset
integer
0

The offset where to start the page

Widget config definitions

Media typeapplication/json
object
meta
required
object
limit
number
offset
number
totalItemCount
number
widgetConfigDefinitions
required
object
Example
{
"meta": {
"limit": 10,
"offset": 0,
"totalItemCount": 1
}
}

Resource not found

Media typeapplication/json
object
statusCode
number
code
required
string
message
required
string
Example
{
"code": "NotFound",
"message": "Merchant not found"
}