import_size_measurements
Fetches real per-size measurements from a fulfillment provider to populate a size chart, reducing manual entry for merchants. Read-only; returns data for review.
Instructions
Get the blank's real per-size measurements from its fulfillment provider, in the exact shape size_chart_measurements takes. READ-ONLY. Use this instead of asking a merchant to type a size chart, and never instead of asking them when it comes back unavailable.
It imports nothing by itself — adopting a set of measurements is the merchant's decision. Show them the table, let them correct it, then write it back with set_listing_attributes as size_chart_measurements.
available: false is an ANSWER, not a failure. Branch on reason:
• provider_publishes_no_size_guide — this provider has no size-guide API at all (Printify and Gelato), so no product of theirs will ever import. Permanent: ask the merchant for the blank manufacturer's own numbers.
• no_size_guide_for_this_blank — the provider does publish guides, just not for this item. Normal for non-apparel.
• provider_lookup_unavailable — transient. Retry.
• product_has_no_fulfillment_provider — nothing to import from.
⚠️ TELL THE MERCHANT WHERE THE NUMBERS CAME FROM. source names the provider and the catalog item. These are measurements a buyer makes a purchase decision on, published in the merchant's name — present them as the provider's figures for a specific blank, not as something you know.
notes, when present, lists what was adjusted on the way through (a provider sometimes files a measurement under a size outside its own size list). Pass those on rather than dropping them.
[#19618b]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"store_uuid": "<store_uuid>",
"product_uuid": "<product_uuid>"
},
"name": "import_size_measurements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| store_uuid | Yes | ||
| product_uuid | Yes |