Retrieve size charts that a seller has created.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The number of results to be returned per page. Valid range: [1-100]
An opaque token used to retrieve the next page of a paginated result set. Retrieve this value from the result of the next_page_token from a previous response. It is not needed for the first page.
The BCP-47 locale codes for displaying the size charts. Default: The default locale of your shop. Possible values:
- de-DE
- en-GB
- en-IE
- en-US
- es-ES
- es-MX
- fr-FR
- id-ID
- it-IT
- ja-JP
- ms-MY
- pt-BR
- th-TH
- vi-VN
- zh-CN
Request Body
Section titled “Request Body”object
Filter size charts by size chart template IDs. Max: 50 IDs
Filter size charts by size chart template name or by key words in the template name. Keyword searches do not return PRODUCT_SCOPED size charts because they do not have a template name. If both ids and keyword are provided, ids takes priority.
Filter size charts by usage mode. Possible values: REUSABLE_TEMPLATE: A size chart template that can be reused across multiple products. PRODUCT_SCOPED: A size chart created for and used by a single product. If omitted, the existing search behavior is preserved.
Example
{ "ids": [ "7362027385890244398" ], "keyword": "size chart", "size_chart_mode": "REUSABLE_TEMPLATE"}Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
The list of size charts that meet the query conditions.
object
The size chart template ID.
The size chart template name.
The list of images included in a size chart.
object
The URI to identify the image in API requests and responses.
The URL to access and view the image.
The language of the size chart image.
Leaf category IDs applicable to this size chart.
Localized structured size chart data. Each item contains a locale and the structured data for that locale.
object
The language of the size chart table.
Structured size chart data for the specified locale.
object
Structured table containing headers and rows.
object
Ordered header definitions.
object
Header display name.
Standard size-system ID or measurement key.
Rows of the size chart.
object
Cells aligned by index with table.headers.
object
Cell value.
Additional size chart description.
Whether this is a one-size chart.
Possible values: GENERIC_MEASUREMENTS: generic measurements; BODY_MEASUREMENTS: shopper body measurements; PRODUCT_MEASUREMENTS: finished-product measurements.
Possible values: METRIC: metric units; IMPERIAL: imperial units.
Possible values include: size_chart_common_size_type: Common; size_chart_size_type_regular: Regular; size_chart_size_type_juniors: Juniors; size_chart_size_type_plus: Plus; size_chart_size_type_big&tall: Big & Tall; size_chart_size_type_petite: Petite. Available values depend on the category.
Filter size charts by usage mode. Possible values: REUSABLE_TEMPLATE: A size chart template that can be reused across multiple products. PRODUCT_SCOPED: A size chart created for and used by a single product. If omitted, the existing search behavior is preserved.
An opaque token used to retrieve the next page of a paginated result set. If this value is non-empty, pass it in the page_token parameter of the next request. An empty value means there are no more results.
The number of size charts that meet the query conditions.
Example
{ "code": 0, "data": { "size_chart": [ { "template_id": "7362027385890244398", "template_name": "size chart", "images": [ { "uri": "tos-maliva-i-o3syd03w52-us/c668cdf70b7f483c94dbe", "url": "https://p16-oec-va.ibyteimg.com/tos-maliva-i-o3syd03w52-us/6c8519a3663a4d728c4e3c131dc914b4~tplv-o3syd03w52-resize-jpeg:300:300.jpeg?from=522366036", "locale": "en-US" } ], "related_category_ids": [ "601739", "601740" ], "size_chart_datas": [ { "locale": "en-US", "size_chart_data": { "table": { "headers": [ { "name": "Bust (cm)", "id": "size_chart_size_system_size" } ], "rows": [ { "cells": [ { "value": "M" } ] } ] }, "description": "Use body measurements.", "is_one_size": false, "measurement_type": "BODY_MEASUREMENTS", "unit_system": "METRIC", "size_types": [ "size_chart_size_type_regular" ] } } ], "size_chart_mode": "REUSABLE_TEMPLATE" } ], "next_page_token": "cGFnZV9udW1iZXI9Mg==", "total_count": 100 }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}