For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get size chart

GET https://app.ecwid.com/api/v3/{storeId}/sizecharts/{sizechartId}

Required access scopes

Your app must have the following access scopes to make this request: read_sizecharts

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

sizechartId

number

Internal sizechart ID.

Query params

All query params are optional.

Param
Type
Description

enabled

boolean

true - find only enabled charts false - find only disabled charts omitted - enabled condition is ignored

createdFrom

string

Chart creation date/time (lower bound). Supported formats: UNIX timestamp, datetime. Examples: 1447804800, 2023-01-15 19:27:50

createdTo

string

Chart creation date/time (upper bound). Supported formats: UNIX timestamp, datetime. Examples: 1447804800, 2023-01-15 19:27:50

updatedFrom

string

Chart latest update date/time (lower bound). Supported formats: UNIX timestamp, datetime. Examples: 1447804800, 2023-01-15 19:27:50

updatedTo

string

Chart latest update date/time (upper bound). Supported formats: UNIX timestamp, datetime. Examples: 1447804800, 2023-01-15 19:27:50

sortBy

string

Sort results by one of the following:

  • DATE_CREATED_ASC

  • DATE_CREATED_DESC

  • DATE_UPDATED_ASC

  • DATE_UPDATED_DESC

offset

number

Offset from the beginning of the returned items list. Used when the response contains more items than limit allows to receive in one request. Usually used to receive all items in several requests with multiple of a hundred, for example:

?offset=0 for the first request,

?offset=100, for the second request,

?offset=200, for the third request, etc

limit

number

Limit to the number of returned items. Maximum and default value (if not specified) is 100.

Headers

The Authorization header is required.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Response JSON

A JSON object with the following fields:

Field
Type
Description

total

number

Total number of found items (might be more than the number of returned items).

offset

number

Offset from the beginning of the returned items list specified in the request.

limit

number

Maximum number of returned items specified in the request. Maximum and default value: 100.

items

array of objects items

Detailed information about returned size sharts.

items

Field
Type
Description

id

number

Size chart identifier.

enabled

boolean

Whether the size chart is enabled or not.

type

string

Type of the size chart:

  • DRESS

  • JACKET

  • SHOES

  • TOP

  • BOTTOM

  • CUSTOM

name

string

Name of the size chart.

nameTranslated

Translations of the size chart name.

content

string

Content of the size chart.

contentTranslated

Translations of the size chart content.

targetCategories

array of numbers

List of category IDs where this size chart is applied.

showForAllProducts

boolean

Whether to show this size chart for all products.

showForFrontpageCategory

boolean

Whether to show this size chart for frontpage category.

createDate

string

Datetime when the size chart was created.

updateDate

string

Datetime when the size chart was last updated.

createTimestamp

string

Size chart create UNIX timestamp.

updateTimestamp

string

Size chart last update UNIX timestamp.

translations

Object with text field translations in the "lang": "text" format, where the "lang" is an ISO 639-1 language code. For example:

Translations are available for all active store languages. Only the default language translations are returned if no other translations are provided for the field. Find active store languages with GET /profile request > languages > enabledLanguages.

Last updated

Was this helpful?