Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

486 KB
Raw Blame
{"exclusions":[{"id":"one-time-application-charge-create","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"one-time-application-charge-detail","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"one-time-application-charges","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"one-time-application-charge-transactions","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"recurring-application-charge-cancel","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"recurring-application-charge-create","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"recurring-application-charge-detail","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"recurring-application-charges","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"recurring-application-charge-transactions","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"recurring-application-charge-update","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"app-charge-transaction-detail","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"usage-charge-create","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"usage-charge-detail","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."},{"id":"usage-charges","category":"deferred_integration","reason":"App billing is a separate app-developer charging workflow."}],"inventory":[{"id":"address-create","risk":"W","module":"customers"},{"id":"address-delete","risk":"D","module":"customers"},{"id":"address-detail","risk":"R","module":"customers"},{"id":"addresses","risk":"R","module":"customers"},{"id":"address-default-update","risk":"W","module":"customers"},{"id":"address-update","risk":"W","module":"customers"},{"id":"customer-count","risk":"R","module":"customers"},{"id":"customer-create","risk":"W","module":"customers"},{"id":"customer-detail","risk":"R","module":"customers"},{"id":"customers","risk":"R","module":"customers"},{"id":"customer-update","risk":"W","module":"customers"},{"id":"discount-batch-delete","risk":"D","module":"discounts"},{"id":"discount-cancel","risk":"D","module":"discounts"},{"id":"discount-combine-update","risk":"H","module":"discounts"},{"id":"coupon-create","risk":"H","module":"discounts"},{"id":"coupon-detail","risk":"R","module":"discounts"},{"id":"coupon-update","risk":"H","module":"discounts"},{"id":"discount-automatic-create","risk":"H","module":"discounts"},{"id":"discount-non-automatic-create","risk":"H","module":"discounts"},{"id":"discount-delete","risk":"D","module":"discounts"},{"id":"discount-detail","risk":"R","module":"discounts"},{"id":"discount-by-code","risk":"R","module":"discounts"},{"id":"discounts","risk":"R","module":"discounts"},{"id":"discount-restart","risk":"H","module":"discounts"},{"id":"discount-automatic-update","risk":"H","module":"discounts"},{"id":"discount-non-automatic-update","risk":"H","module":"discounts"},{"id":"order-cancel","risk":"D","module":"orders"},{"id":"order-count","risk":"R","module":"orders"},{"id":"order-create","risk":"H","module":"orders"},{"id":"order-delete","risk":"D","module":"orders"},{"id":"fulfillment-cancel","risk":"D","module":"orders"},{"id":"fulfillment-complete","risk":"H","module":"orders"},{"id":"fulfillment-count","risk":"R","module":"orders"},{"id":"fulfillment-create","risk":"H","module":"orders"},{"id":"fulfillment-detail","risk":"R","module":"orders"},{"id":"fulfillments","risk":"R","module":"orders"},{"id":"fulfillment-update","risk":"H","module":"orders"},{"id":"order-detail","risk":"R","module":"orders"},{"id":"order-by-number","risk":"R","module":"orders"},{"id":"orders","risk":"R","module":"orders"},{"id":"order-pay-success","risk":"H","module":"orders"},{"id":"order-post-sale-delete","risk":"D","module":"orders"},{"id":"order-post-sales","risk":"R","module":"orders"},{"id":"order-refund-record-count","risk":"R","module":"orders"},{"id":"order-refund-record-create","risk":"H","module":"orders"},{"id":"order-refund-finish","risk":"H","module":"orders"},{"id":"order-refund-records","risk":"R","module":"orders"},{"id":"order-refund-record","risk":"R","module":"orders"},{"id":"order-risk-create","risk":"H","module":"orders"},{"id":"order-risk-delete","risk":"D","module":"orders"},{"id":"order-risk-detail","risk":"R","module":"orders"},{"id":"order-risk-assessments","risk":"R","module":"orders"},{"id":"order-risk-update","risk":"H","module":"orders"},{"id":"shipping-zone-create","risk":"H","module":"orders"},{"id":"shipping-zone-delete","risk":"D","module":"orders"},{"id":"available-shipping-lines","risk":"R","module":"orders"},{"id":"general-shipping-schema","risk":"R","module":"orders"},{"id":"general-shipping-schema-save","risk":"H","module":"orders"},{"id":"shipping-zone-update","risk":"H","module":"orders"},{"id":"tracking-carrier-detect","risk":"R","module":"orders"},{"id":"tracking-carriers","risk":"R","module":"orders"},{"id":"order-transactions-batch","risk":"R","module":"orders"},{"id":"order-transactions","risk":"R","module":"orders"},{"id":"order-update","risk":"H","module":"orders"},{"id":"product-batch-delete","risk":"D","module":"products"},{"id":"categories","risk":"R","module":"products"},{"id":"collection-async-create","risk":"H","module":"products"},{"id":"smart-collection-rule-async-update","risk":"H","module":"products"},{"id":"collection-count","risk":"R","module":"products"},{"id":"collection-create","risk":"H","module":"products"},{"id":"collection-delete","risk":"D","module":"products"},{"id":"collection-detail","risk":"R","module":"products"},{"id":"collection-async-task-detail","risk":"R","module":"products"},{"id":"collections","risk":"R","module":"products"},{"id":"collection-update","risk":"H","module":"products"},{"id":"smart-collection-rule-update","risk":"H","module":"products"},{"id":"collect-batch-create","risk":"H","module":"products"},{"id":"collect-count","risk":"R","module":"products"},{"id":"collect-create","risk":"H","module":"products"},{"id":"collect-delete","risk":"D","module":"products"},{"id":"collect-detail","risk":"R","module":"products"},{"id":"collects","risk":"R","module":"products"},{"id":"comment-batch-create","risk":"H","module":"products"},{"id":"comment-create","risk":"H","module":"products"},{"id":"comments","risk":"R","module":"products"},{"id":"product-count","risk":"R","module":"products"},{"id":"product-create","risk":"H","module":"products"},{"id":"product-delete","risk":"D","module":"products"},{"id":"product-detail","risk":"R","module":"products"},{"id":"gift-card-batch-create","risk":"H","module":"products"},{"id":"gift-card-create","risk":"H","module":"products"},{"id":"gift-card-disable","risk":"D","module":"products"},{"id":"gift-card-detail","risk":"R","module":"products"},{"id":"gift-cards","risk":"R","module":"products"},{"id":"gift-card-update","risk":"H","module":"products"},{"id":"product-image-count","risk":"R","module":"products"},{"id":"product-image-create","risk":"H","module":"products"},{"id":"product-image-delete","risk":"D","module":"products"},{"id":"product-image-detail","risk":"R","module":"products"},{"id":"product-images","risk":"R","module":"products"},{"id":"product-image-update","risk":"H","module":"products"},{"id":"inventory-level-create","risk":"H","module":"products"},{"id":"inventory-level-delete","risk":"D","module":"products"},{"id":"product-inventory","risk":"R","module":"products"},{"id":"inventory-item","risk":"R","module":"products"},{"id":"inventory-item-variants","risk":"R","module":"products"},{"id":"inventory-items","risk":"R","module":"products"},{"id":"inventory-levels","risk":"R","module":"products"},{"id":"inventory-level-set","risk":"H","module":"products"},{"id":"inventory-item-update","risk":"H","module":"products"},{"id":"inventory-level-update","risk":"H","module":"products"},{"id":"products","risk":"R","module":"products"},{"id":"location-count","risk":"R","module":"products"},{"id":"location-deactivate","risk":"D","module":"products"},{"id":"location-edit-priority","risk":"H","module":"products"},{"id":"location-detail","risk":"R","module":"products"},{"id":"location-get-default","risk":"R","module":"products"},{"id":"location-inventory-levels","risk":"R","module":"products"},{"id":"locations","risk":"R","module":"products"},{"id":"location-change-default","risk":"H","module":"products"},{"id":"procurement-item-batch-create","risk":"H","module":"products"},{"id":"procurement-item-batch-delete","risk":"D","module":"products"},{"id":"procurement-item-batch-update","risk":"H","module":"products"},{"id":"procurement-cancel","risk":"D","module":"products"},{"id":"procurement-create","risk":"H","module":"products"},{"id":"procurement-detail","risk":"R","module":"products"},{"id":"procurements","risk":"R","module":"products"},{"id":"procurement-items","risk":"R","module":"products"},{"id":"procurement-receive","risk":"H","module":"products"},{"id":"procurement-update","risk":"H","module":"products"},{"id":"supplier-create","risk":"W","module":"products"},{"id":"supplier-detail","risk":"R","module":"products"},{"id":"suppliers","risk":"R","module":"products"},{"id":"supplier-update","risk":"W","module":"products"},{"id":"product-update","risk":"H","module":"products"},{"id":"variant-count","risk":"R","module":"products"},{"id":"variant-create","risk":"H","module":"products"},{"id":"variant-delete","risk":"D","module":"products"},{"id":"variant-detail","risk":"R","module":"products"},{"id":"variants","risk":"R","module":"products"},{"id":"variants-by-sku","risk":"R","module":"products"},{"id":"variant-update","risk":"H","module":"products"},{"id":"variant-update-by-sku","risk":"H","module":"products"},{"id":"data-analysis-land-page","risk":"R","module":"shop"},{"id":"data-analysis-by-sku","risk":"R","module":"shop"},{"id":"data-analysis-by-spu","risk":"R","module":"shop"},{"id":"data-analysis-utm","risk":"R","module":"shop"},{"id":"data-analysis-detail","risk":"R","module":"shop"},{"id":"data-analysis-search-keyword","risk":"R","module":"shop"},{"id":"data-analysis-traffic-channel","risk":"R","module":"shop"},{"id":"data-analysis-traffic-channel-options","risk":"R","module":"shop"},{"id":"article-authors","risk":"R","module":"shop"},{"id":"article-count","risk":"R","module":"shop"},{"id":"article-create","risk":"H","module":"shop"},{"id":"article-delete","risk":"D","module":"shop"},{"id":"article-detail","risk":"R","module":"shop"},{"id":"articles","risk":"R","module":"shop"},{"id":"article-update","risk":"H","module":"shop"},{"id":"blog-count","risk":"R","module":"shop"},{"id":"blog-create","risk":"H","module":"shop"},{"id":"blog-delete","risk":"D","module":"shop"},{"id":"blog-detail","risk":"R","module":"shop"},{"id":"blogs","risk":"R","module":"shop"},{"id":"blog-update","risk":"H","module":"shop"},{"id":"file-delete","risk":"D","module":"shop"},{"id":"file-detail","risk":"R","module":"shop"},{"id":"files","risk":"R","module":"shop"},{"id":"file-upload-task","risk":"R","module":"shop"},{"id":"file-create","risk":"H","module":"shop"},{"id":"shop-detail","risk":"R","module":"shop"},{"id":"shop-update","risk":"H","module":"shop"},{"id":"language-add","risk":"H","module":"shop"},{"id":"language-delete","risk":"D","module":"shop"},{"id":"language-disable","risk":"D","module":"shop"},{"id":"language-enable","risk":"H","module":"shop"},{"id":"languages","risk":"R","module":"shop"},{"id":"language-markets","risk":"R","module":"shop"},{"id":"language-publish","risk":"H","module":"shop"},{"id":"supported-languages","risk":"R","module":"shop"},{"id":"market-products-add","risk":"H","module":"shop"},{"id":"market-create","risk":"H","module":"shop"},{"id":"market-delete","risk":"D","module":"shop"},{"id":"market-products-delete","risk":"D","module":"shop"},{"id":"market-detail","risk":"R","module":"shop"},{"id":"markets","risk":"R","module":"shop"},{"id":"market-languages","risk":"R","module":"shop"},{"id":"market-products","risk":"R","module":"shop"},{"id":"market-preview","risk":"R","module":"shop"},{"id":"market-update","risk":"H","module":"shop"},{"id":"market-default-language-update","risk":"H","module":"shop"},{"id":"market-domain-update","risk":"H","module":"shop"},{"id":"market-price-update","risk":"H","module":"shop"},{"id":"market-products-price-update","risk":"H","module":"shop"},{"id":"market-status-update","risk":"H","module":"shop"},{"id":"market-tax-update","risk":"H","module":"shop"},{"id":"menu-create","risk":"H","module":"shop"},{"id":"menu-delete","risk":"D","module":"shop"},{"id":"menus-list","risk":"R","module":"shop"},{"id":"menu-update","risk":"H","module":"shop"},{"id":"metafield-definition-count","risk":"R","module":"shop"},{"id":"metafield-definition-count-by-group","risk":"R","module":"shop"},{"id":"metafield-definition-create","risk":"W","module":"shop"},{"id":"metafield-definition-delete","risk":"D","module":"shop"},{"id":"metafield-definition-detail","risk":"R","module":"shop"},{"id":"metafield-definitions","risk":"R","module":"shop"},{"id":"metafield-definition-update","risk":"W","module":"shop"},{"id":"metafield-count","risk":"R","module":"shop"},{"id":"metafield-create","risk":"H","module":"shop"},{"id":"metafield-delete","risk":"D","module":"shop"},{"id":"metafield-detail","risk":"R","module":"shop"},{"id":"metafields","risk":"R","module":"shop"},{"id":"metafield-update","risk":"H","module":"shop"},{"id":"shop-metafield-count","risk":"R","module":"shop"},{"id":"shop-metafield-create","risk":"H","module":"shop"},{"id":"shop-metafield-delete","risk":"D","module":"shop"},{"id":"shop-metafield","risk":"R","module":"shop"},{"id":"shop-metafields","risk":"R","module":"shop"},{"id":"shop-metafield-update","risk":"H","module":"shop"},{"id":"custom-page-batch-delete","risk":"D","module":"shop"},{"id":"custom-page-detail-batch","risk":"R","module":"shop"},{"id":"custom-page-count","risk":"R","module":"shop"},{"id":"custom-page-create","risk":"H","module":"shop"},{"id":"custom-page-delete","risk":"D","module":"shop"},{"id":"custom-page-detail","risk":"R","module":"shop"},{"id":"custom-pages","risk":"R","module":"shop"},{"id":"custom-page-detail-search","risk":"R","module":"shop"},{"id":"custom-page-update","risk":"H","module":"shop"},{"id":"url-redirect-create","risk":"H","module":"shop"},{"id":"url-redirect-delete","risk":"D","module":"shop"},{"id":"url-redirect","risk":"R","module":"shop"},{"id":"url-redirects-detail","risk":"R","module":"shop"},{"id":"url-redirect-detail-search","risk":"R","module":"shop"},{"id":"url-redirect-update","risk":"H","module":"shop"},{"id":"theme-app-disable","risk":"D","module":"themes"},{"id":"theme-app-enable","risk":"H","module":"themes"},{"id":"theme-extensions-list","risk":"R","module":"themes"},{"id":"theme-apps-list","risk":"R","module":"themes"},{"id":"theme-section-add-block","risk":"H","module":"themes"},{"id":"theme-gen-block-create","risk":"H","module":"themes"},{"id":"theme-gen-block-delete","risk":"D","module":"themes"},{"id":"theme-gen-block-detail","risk":"R","module":"themes"},{"id":"theme-public-blocks-list","risk":"R","module":"themes"},{"id":"theme-section-remove-block","risk":"D","module":"themes"},{"id":"theme-gen-block-revert","risk":"D","module":"themes"},{"id":"theme-section-set-slot","risk":"H","module":"themes"},{"id":"theme-gen-block-update","risk":"H","module":"themes"},{"id":"theme-delete","risk":"D","module":"themes"},{"id":"theme-duplicate","risk":"H","module":"themes"},{"id":"theme-doc-create","risk":"H","module":"themes"},{"id":"theme-doc-delete","risk":"D","module":"themes"},{"id":"theme-doc-file","risk":"R","module":"themes"},{"id":"theme-doc-rename","risk":"H","module":"themes"},{"id":"theme-doc-tree","risk":"R","module":"themes"},{"id":"theme-doc-patch","risk":"H","module":"themes"},{"id":"theme-detail","risk":"R","module":"themes"},{"id":"themes","risk":"R","module":"themes"},{"id":"theme-install","risk":"H","module":"themes"},{"id":"theme-market","risk":"R","module":"themes"},{"id":"theme-pb-template-delete","risk":"D","module":"themes"},{"id":"theme-pb-single-blocks","risk":"R","module":"themes"},{"id":"theme-pb-block-save","risk":"H","module":"themes"},{"id":"theme-pb-template-save","risk":"H","module":"themes"},{"id":"theme-pb-summary","risk":"R","module":"themes"},{"id":"theme-pb-update","risk":"R","module":"themes"},{"id":"theme-publish","risk":"H","module":"themes"},{"id":"theme-rename","risk":"H","module":"themes"},{"id":"theme-cards-list","risk":"R","module":"themes"},{"id":"theme-section-card-detail","risk":"R","module":"themes"},{"id":"theme-section-cards-list","risk":"R","module":"themes"},{"id":"theme-section-remove","risk":"D","module":"themes"},{"id":"theme-section-set-props","risk":"H","module":"themes"},{"id":"theme-edit-session-batch-operations","risk":"D","module":"themes"},{"id":"theme-edit-session-card-list","risk":"R","module":"themes"},{"id":"theme-edit-session-conflict","risk":"R","module":"themes"},{"id":"theme-edit-session-create","risk":"H","module":"themes"},{"id":"theme-global-config","risk":"R","module":"themes"},{"id":"theme-edit-session-file-get","risk":"R","module":"themes"},{"id":"theme-edit-session-promote","risk":"H","module":"themes"},{"id":"theme-global-config-update","risk":"H","module":"themes"},{"id":"theme-edit-session-file-update","risk":"D","module":"themes"},{"id":"theme-task","risk":"R","module":"themes"},{"id":"theme-templates-create","risk":"H","module":"themes"},{"id":"theme-templates-delete","risk":"D","module":"themes"},{"id":"theme-templates-list","risk":"R","module":"themes"},{"id":"theme-templates-update","risk":"H","module":"themes"},{"id":"theme-upgrade","risk":"H","module":"themes"},{"id":"theme-doc-version-detail","risk":"R","module":"themes"},{"id":"theme-doc-versions","risk":"R","module":"themes"},{"id":"theme-doc-version","risk":"R","module":"themes"},{"id":"carrier-service-create","risk":"H","module":"shop"},{"id":"carrier-service-delete","risk":"D","module":"shop"},{"id":"carrier-service-detail","risk":"R","module":"shop"},{"id":"carrier-services","risk":"R","module":"shop"},{"id":"carrier-service-update","risk":"H","module":"shop"},{"id":"webhook-count","risk":"R","module":"webhook"},{"id":"webhook-create","risk":"H","module":"webhook"},{"id":"webhook-delete","risk":"D","module":"webhook"},{"id":"webhook-detail","risk":"R","module":"webhook"},{"id":"webhooks","risk":"R","module":"webhook"},{"id":"webhook-update","risk":"H","module":"webhook"}],"source":{"version":"v202601","generated_at":"2026-09-23T08:21:02Z","modules":[{"name":"billing","groups":{"one-time":{"summary":"Bill merchants a one-time fee for app usage or setup","description":"One-time application charges are non-recurring fees that app developers bill to\nmerchants for a single transaction, such as a one-off purchase or setup fee.\nAfter creation, the merchant is redirected to a confirmation URL to approve the\ncharge before it becomes active.\nProvides endpoints to create one-time charges, retrieve charge details, list all\ncharges for the current store, and view the transaction history for a charge."},"recurring":{"summary":"Create and manage recurring subscription fees for app billing","description":"Recurring application charges are subscription-based fees that app developers bill to\nmerchants on a periodic cycle (default 30 days). They support usage-based billing with\na configurable capped amount, trial periods, and automatic renewal.\nProvides endpoints to create, retrieve, update, and cancel recurring charges, as well\nas list the transaction history for a given charge."},"transactions":{"summary":"Query transaction records for app charges billed through the platform","description":"App charge transactions are the records produced when a merchant pays for an\ninstalled app — covering one-time fees, recurring subscriptions, and usage-based\ncharges, along with the platform's commission."},"usage":{"summary":"Record metered usage charges under a recurring application charge","description":"Usage charges are individual metered billing events attached to a recurring\napplication charge. Apps record them to report per-unit consumption (such as\nthe number of transactions or API calls) against the charge's agreed billing cap.\nProvides endpoints to create new usage charges, list all usage charges for a\nrecurring charge, and retrieve a single usage charge by ID."}},"commands":[{"id":"one-time-application-charge-create","command_path":["one-time","create"],"summary":"Create one-time application charge","description":"Create a one-time charge for an application.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/application_charges","body":"*"},"body":{"required":true,"fields":[{"name":"application_charge","type":"object","schema":"v202506.CreateApplicationChargeParam","required":true,"description":"Application charge"}]},"response_schema":"v202506.CreateOneTimeApplicationChargeResponse"},{"id":"one-time-application-charge-detail","command_path":["one-time","get"],"summary":"Get one-time application charge","description":"Look up a one-time application charge by its ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/application_charges/{charge_id}"},"parameters":[{"name":"charge_id","in":"path","type":"string","required":true,"description":"Charge ID","min_length":1}],"response_schema":"v202506.GetOneTimeApplicationChargeResponse"},{"id":"one-time-application-charges","command_path":["one-time","list"],"summary":"List one-time application charges","description":"Retrieve a paginated list of one-time application charges for the current store.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/application_charges"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records per page. Defaults to 8","default":8,"minimum":1},{"name":"charges_status","in":"query","type":"string","description":"Filter by charge status: - `pending`: pending - `accepted`: accepted - `declined`: declined - `active`: active - `expired`: expired - `frozen`: frozen - `cancelled`: cancelled - `paid_failed`: payment failed - `paying`: paying"}],"response_schema":"v202506.ListOneTimeApplicationChargeResponse"},{"id":"one-time-application-charge-transactions","command_path":["one-time","transactions"],"summary":"List one-time application charge transactions","description":"Returns the transaction history for a one-time application charge.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/application_charges/{charge_id}/transactions"},"parameters":[{"name":"charge_id","in":"path","type":"string","required":true,"description":"Charge ID","min_length":1},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records per page. Defaults to 8","default":8,"minimum":1},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"paid_at_min","in":"query","type":"string","description":"Filter transactions paid at or after this time, ISO-8601 format (e.g., 2018-11-02T12:30:10Z)"},{"name":"paid_at_max","in":"query","type":"string","description":"Filter transactions paid at or before this time, ISO-8601 format (e.g., 2018-11-02T12:30:10Z)"}],"response_schema":"v202506.ListOneTimeApplicationChargeTransactionResponse"},{"id":"recurring-application-charge-cancel","command_path":["recurring","cancel"],"summary":"Cancel recurring application charge","description":"Cancel a recurring application charge subscription.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/recurring_application_charges/{charge_id}"},"parameters":[{"name":"charge_id","in":"path","type":"string","required":true,"description":"Charge ID","min_length":1}],"response_schema":"v202506.CancelRecurringApplicationChargeResponse"},{"id":"recurring-application-charge-create","command_path":["recurring","create"],"summary":"Create recurring application charge","description":"Create a recurring charge for an application.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/recurring_application_charges","body":"*"},"body":{"required":true,"fields":[{"name":"recurring_application_charge","type":"object","schema":"v202506.CreateRecurringApplicationChargeParam","required":true,"description":"Recurring application charge"}]},"response_schema":"v202506.CreateRecurringApplicationChargeResponse"},{"id":"recurring-application-charge-detail","command_path":["recurring","get"],"summary":"Get recurring application charge","description":"Retrieve a specific recurring application charge by its ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/recurring_application_charges/{charge_id}"},"parameters":[{"name":"charge_id","in":"path","type":"string","required":true,"description":"Charge ID","min_length":1}],"response_schema":"v202506.GetRecurringApplicationChargeResponse"},{"id":"recurring-application-charges","command_path":["recurring","list"],"summary":"List recurring application charges","description":"Retrieve a paginated list of recurring application charges created for the current store.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/recurring_application_charges"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records per page. Defaults to 8","default":8,"minimum":1},{"name":"charges_status","in":"query","type":"string","description":"Filter by charge status: - `pending`: pending - `accepted`: accepted - `declined`: declined - `active`: active - `expired`: expired - `frozen`: frozen - `cancelled`: cancelled - `paid_failed`: payment failed - `paying`: paying"}],"response_schema":"v202506.ListRecurringApplicationChargeResponse"},{"id":"recurring-application-charge-transactions","command_path":["recurring","transactions"],"summary":"List recurring application charge transactions","description":"Returns the transaction history for a recurring application charge.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/recurring_application_charges/{charge_id}/transactions"},"parameters":[{"name":"charge_id","in":"path","type":"string","required":true,"description":"Charge ID","min_length":1},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records per page. Defaults to 10","default":10,"minimum":1},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"transaction_status","in":"query","type":"string","description":"Filter by transaction status"},{"name":"paid_at_min","in":"query","type":"string","description":"Filter transactions paid at or after this time, ISO-8601 format (e.g., 2018-11-02T12:30:10Z)"},{"name":"paid_at_max","in":"query","type":"string","description":"Filter transactions paid at or before this time, ISO-8601 format (e.g., 2018-11-02T12:30:10Z)"}],"response_schema":"v202506.ListRecurringApplicationChargeTransactionResponse"},{"id":"recurring-application-charge-update","command_path":["recurring","update"],"summary":"Update recurring application charge","description":"Update the capped amount for a recurring application charge.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/recurring_application_charges/{charge_id}/customize","body":"*"},"parameters":[{"name":"charge_id","in":"path","type":"string","required":true,"description":"Charge ID","min_length":1}],"body":{"required":true,"fields":[{"name":"capped_amount","type":"number","format":"float","required":true,"description":"Capped amount for usage billing","minimum":0}]},"response_schema":"v202506.UpdateRecurringApplicationChargeResponse"},{"id":"app-charge-transaction-detail","command_path":["transactions","get"],"summary":"Get app charge transaction","description":"Retrieves transaction details for a specific application charge.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/transactions/{transaction_id}"},"parameters":[{"name":"transaction_id","in":"path","type":"string","required":true,"description":"Transaction ID"}],"response_schema":"v202506.GetAppChargeTransactionResponse"},{"id":"usage-charge-create","command_path":["usage","create"],"summary":"Create usage charge","description":"Create usage-based charges for a recurring application charge within Shoplazza.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/recurring_application_charges/{charge_id}/usage_charge","body":"*"},"parameters":[{"name":"charge_id","in":"path","type":"string","required":true,"description":"Charge ID","min_length":1}],"body":{"required":true,"fields":[{"name":"usage_charge","type":"object","schema":"v202506.CreateUsageChargeParam","required":true,"description":"Usage charge"}]},"response_schema":"v202506.CreateUsageChargeResponse"},{"id":"usage-charge-detail","command_path":["usage","get"],"summary":"Get usage charge","description":"Look up a usage charge by its ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/recurring_application_charges/{charge_id}/usage_charge/{usage_charge_id}"},"parameters":[{"name":"charge_id","in":"path","type":"string","required":true,"description":"Charge ID","min_length":1},{"name":"usage_charge_id","in":"path","type":"string","required":true,"description":"Usage charge ID","min_length":1}],"response_schema":"v202506.GetUsageChargeResponse"},{"id":"usage-charges","command_path":["usage","list"],"summary":"List usage charges","description":"Retrieve all usage charges associated with a specific recurring application charge.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/recurring_application_charges/{charge_id}/usage_charge"},"parameters":[{"name":"charge_id","in":"path","type":"string","required":true,"description":"Charge ID","min_length":1},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"per_page","in":"query","type":"integer","format":"int32","description":"Number of usage charges to retrieve per page. Defaults to 20","default":20,"minimum":1}],"response_schema":"v202506.ListUsageChargeResponse"}]},{"name":"customers","groups":{"addresses":{"summary":"Manage customer shipping addresses and the default address for checkout","description":"Customer addresses represent the shipping destinations attached to a customer account in a\nmerchant's store. Merchants and apps use them to maintain a customer's address book and to\npick the default shipping address used at checkout.\nProvides endpoints to list, create, retrieve, update, and delete customer addresses, plus a\ndedicated endpoint to set a customer's default shipping address."}},"commands":[{"id":"address-create","command_path":["addresses","create"],"summary":"Create address","description":"Create a new address with the provided details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/customers/{customer_id}/addresses","body":"*"},"parameters":[{"name":"customer_id","in":"path","type":"string","required":true,"description":"Customer ID","min_length":1}],"body":{"required":true,"fields":[{"name":"address","type":"object","schema":"v202506.CreateAddressParam","required":true,"description":"Address"}]},"response_schema":"v202506.CreateAddressResponse"},{"id":"address-delete","command_path":["addresses","delete"],"summary":"Delete address","description":"Delete a specific address using its unique identifier.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/customers/{customer_id}/addresses/{address_id}"},"parameters":[{"name":"customer_id","in":"path","type":"string","required":true,"description":"Customer ID","min_length":1},{"name":"address_id","in":"path","type":"string","required":true,"description":"Address ID","min_length":1}],"response_schema":"v202506.DeleteAddressResponse"},{"id":"address-detail","command_path":["addresses","get"],"summary":"Get address","description":"Retrieve details of a specific address using its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/customers/{customer_id}/addresses/{address_id}"},"parameters":[{"name":"customer_id","in":"path","type":"string","required":true,"description":"Customer ID","min_length":1},{"name":"address_id","in":"path","type":"string","required":true,"description":"Address ID","min_length":1}],"response_schema":"v202506.GetAddressResponse"},{"id":"addresses","command_path":["addresses","list"],"summary":"List addresses","description":"Retrieve a list of all address with pagination.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/customers/{customer_id}/addresses"},"parameters":[{"name":"customer_id","in":"path","type":"string","required":true,"description":"Customer ID","min_length":1},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records per page. The default value is 10, and the maximum allowed value is 250","default":10,"minimum":1,"maximum":250},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"}],"response_schema":"v202506.ListAddressResponse"},{"id":"address-default-update","command_path":["addresses","set-default"],"summary":"Set default address","description":"Sets the specified address as the customer's default address.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/customers/{customer_id}/addresses/{address_id}/default"},"parameters":[{"name":"customer_id","in":"path","type":"string","required":true,"description":"Customer ID","min_length":1},{"name":"address_id","in":"path","type":"string","required":true,"description":"Address ID","min_length":1}],"response_schema":"v202506.SetDefaultAddressResponse"},{"id":"address-update","command_path":["addresses","update"],"summary":"Update address","description":"Update the details of an existing address using its unique identifier.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/customers/{customer_id}/addresses/{address_id}","body":"*"},"parameters":[{"name":"customer_id","in":"path","type":"string","required":true,"description":"Customer ID","min_length":1},{"name":"address_id","in":"path","type":"string","required":true,"description":"Address ID","min_length":1}],"body":{"required":true,"fields":[{"name":"address","type":"object","schema":"v202506.UpdateAddressParam","required":true,"description":"Address"}]},"response_schema":"v202506.UpdateAddressResponse"},{"id":"customer-count","command_path":["count"],"summary":"Get customer count","description":"Retrieve the total number of customers.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/customers/count"},"response_schema":"v202506.GetCustomerCountResponse"},{"id":"customer-create","command_path":["create"],"summary":"Create customer","description":"Create a new customer with the provided details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/customers","body":"*"},"body":{"required":true,"fields":[{"name":"customer","type":"object","schema":"v202506.CreateCustomerParam","required":true,"description":"Customer"}]},"response_schema":"v202506.CreateCustomerResponse"},{"id":"customer-detail","command_path":["get"],"summary":"Get customer","description":"Retrieve details of a specific customer using its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/customers/{customer_id}"},"parameters":[{"name":"customer_id","in":"path","type":"string","required":true,"description":"Customer ID","min_length":1}],"response_schema":"v202506.GetCustomerResponse"},{"id":"customers","command_path":["list"],"summary":"List customers","description":"Retrieve a list of all customers with pagination.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/customers"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"The cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"The number of customers to retrieve per page. The default is 10, and the maximum is 250","default":10,"minimum":1,"maximum":250},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"A list of customer IDs. Example: ?ids=1001&ids=1002"},{"name":"created_at_min","in":"query","type":"string","description":"Retrieve customers created after this date. It's in UTC (0 timezone), formatted as ISO-8601"},{"name":"created_at_max","in":"query","type":"string","description":"Retrieve customers created before this date. It's in UTC (0 timezone), formatted as ISO-8601"},{"name":"updated_at_min","in":"query","type":"string","description":"Retrieve customers last updated after this date. It's in UTC (0 timezone), formatted as ISO-8601"},{"name":"updated_at_max","in":"query","type":"string","description":"Retrieve customers last updated before this date. It's in UTC (0 timezone), formatted as ISO-8601"},{"name":"email","in":"query","type":"string","description":"Filter customers by email"},{"name":"contact","in":"query","type":"string","description":"Filter customers by contact information (email or phone)"}],"response_schema":"v202506.ListCustomerResponse"},{"id":"customer-update","command_path":["update"],"summary":"Update customer","description":"Update the details of an existing customer using its unique identifier.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/customers/{customer_id}","body":"*"},"parameters":[{"name":"customer_id","in":"path","type":"string","required":true,"description":"Customer ID","min_length":1}],"body":{"required":true,"fields":[{"name":"customer","type":"object","schema":"v202506.UpdateCustomerParam","required":true,"description":"The object containing customer attributes to be updated"}]},"response_schema":"v202506.UpdateCustomerResponse"}]},{"name":"discounts","groups":{"coupons":{"summary":"Create and manage coupon campaigns distributed to customers","description":"Coupons are promotional vouchers merchants create to offer discounts (fixed amount,\npercentage, or free gift) to customers. Customers receive them via marketing campaigns\nor direct assignment, then apply them at checkout.\nProvides endpoints to create, update, and retrieve coupon campaigns."}},"commands":[{"id":"discount-batch-delete","command_path":["batch-delete"],"summary":"Batch delete discounts","description":"Deletes multiple discounts by IDs. Only discounts with progress status finished can be deleted.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/discounts/batch-delete","body":"*"},"body":{"required":true,"fields":[{"name":"ids","type":"array","items":{"type":"string"},"required":true,"description":"Discount IDs. Only discounts with progress status finished can be deleted","min_length":1}]},"response_schema":"v202601.response.BatchDeleteDiscountsResponse"},{"id":"discount-cancel","command_path":["cancel"],"summary":"Cancel discounts","description":"Cancels one or more discounts.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/discounts/cancel","body":"*"},"body":{"required":true,"fields":[{"name":"ids","type":"array","items":{"type":"string"},"required":true,"description":"Discount IDs","min_length":1}]},"response_schema":"v202601.response.CancelDiscountsResponse"},{"id":"discount-combine-update","command_path":["combine"],"summary":"Configure which discount types can be combined","description":"Configure which discount types can be combined.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/discounts/combine","body":"*"},"body":{"required":true,"fields":[{"name":"ids","type":"array","items":{"type":"string"},"required":true,"description":"Discount IDs","min_length":1},{"name":"discount_combines","type":"array","items":{"type":"string"},"required":true,"description":"Other discount categories that can be combined: - `product`: Can combine with product discounts - `order`: Can combine with order discounts - `shipping`: Can combine with shipping discounts"}]},"response_schema":"v202601.response.UpdateDiscountCombineResponse"},{"id":"coupon-create","command_path":["coupons","create"],"summary":"Create coupon","description":"Creates a coupon campaign.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/coupons","body":"*"},"body":{"required":true,"fields":[{"name":"coupon","type":"object","schema":"v202601.request.CreateCouponParam","required":true,"description":"Coupon payload"}]},"response_schema":"v202601.response.CreateCouponResponse"},{"id":"coupon-detail","command_path":["coupons","get"],"summary":"Get coupon","description":"Gets coupon campaign details by ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/coupons/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Coupon ID","min_length":1}],"response_schema":"v202601.response.GetCouponResponse"},{"id":"coupon-update","command_path":["coupons","update"],"summary":"Update coupon","description":"Updates an existing coupon campaign by ID.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/coupons/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Coupon ID. Read from the URL path","min_length":1}],"body":{"required":true,"fields":[{"name":"coupon","type":"object","schema":"v202601.request.UpdateCouponParam","required":true,"description":"Updated coupon payload"}]},"response_schema":"v202601.response.UpdateCouponResponse"},{"id":"discount-automatic-create","command_path":["create-automatic"],"summary":"Create automatic discount","description":"Creates an automatic discount.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/discounts/automatic","body":"*"},"body":{"required":true,"fields":[{"name":"discount","type":"object","schema":"v202601.request.CreateAutomaticDiscountParam","required":true,"description":"Discount data for automatic mode"}]},"response_schema":"v202601.response.CreateAutomaticDiscountResponse"},{"id":"discount-non-automatic-create","command_path":["create-non-automatic"],"summary":"Create non-automatic discount","description":"Creates a non-automatic discount.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/discounts/non-automatic","body":"*"},"body":{"required":true,"fields":[{"name":"discount","type":"object","schema":"v202601.request.CreateNonAutomaticDiscountParam","required":true,"description":"Discount data for non-automatic mode"}]},"response_schema":"v202601.response.CreateNonAutomaticDiscountResponse"},{"id":"discount-delete","command_path":["delete"],"summary":"Delete discount","description":"Deletes a discount by ID. Only discounts with progress status finished can be deleted.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/discounts/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Discount ID","min_length":1}],"response_schema":"v202601.response.DeleteDiscountResponse"},{"id":"discount-detail","command_path":["get"],"summary":"Get discount","description":"Gets discount details by ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/discounts/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Discount ID to query","min_length":1}],"response_schema":"v202601.response.GetDiscountResponse"},{"id":"discount-by-code","command_path":["get-by-code"],"summary":"Get discount by code","description":"Gets a discount by discount code.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/discounts/by-code/{discount_code}"},"parameters":[{"name":"discount_code","in":"path","type":"string","required":true,"description":"Discount code used for lookup, read from URL path","min_length":1}],"response_schema":"v202601.response.LookupDiscountResponse"},{"id":"discounts","command_path":["list"],"summary":"List discounts","description":"Returns the discount list by query parameters.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/discounts"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination, use the cursor from the response to retrieve the next page"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to be returned. Ranges from 1 to 250. Default is 10","default":10,"minimum":1,"maximum":250},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"discount_name","in":"query","type":"string","description":"Fuzzy match keyword for discount name","min_length":1},{"name":"discount_type","in":"query","type":"array","items":{"type":"string"},"description":"Discount types used as filter values. - rebate_cta_otr: Amount-threshold fixed reduction. - rebate_ctq_otr: Quantity-threshold fixed reduction. - rebate_cta_otp: Amount-threshold percentage discount. - rebate_ctq_otp: Quantity-threshold percentage discount. - m_n_discount: M-for-N discount. - flashsale: Flash sale discount. - code_percent: Discount-code percentage discount. - code_fix_price_reduction: Discount-code fixed reduction. - code_bxgy: Discount-code buy X get Y. - code_free_shipping: Discount-code free shipping. Example: ?discount_type=rebate_cta_otr&discount_type=rebate_ctq_otr"},{"name":"progress","in":"query","type":"array","items":{"type":"string"},"description":"Discount progress states used as filter values. - ongoing: Ongoing. - not_started: Not started. - finished: Finished. - paused: Paused. Example: ?progress=ongoing&progress=finished"},{"name":"starts_date","in":"query","type":"string","description":"Lower bound datetime for time-overlap filtering, format as \"2006-01-02 15:04:05\""},{"name":"ends_date","in":"query","type":"string","description":"Upper bound datetime for time-overlap filtering, format as \"2006-01-02 15:04:05\""},{"name":"discount_code","in":"query","type":"string","description":"Discount code","min_length":1},{"name":"discount_methods","in":"query","type":"array","items":{"type":"string"},"description":"Discount methods used as filter values. - automatic: Applied automatically. - discount_code: Applied by discount code. Example: ?discount_methods=automatic&discount_methods=discount_code"},{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"Explicit discount IDs used as filter values. Example: ?ids=1001&ids=1002"},{"name":"discount_targets","in":"query","type":"array","items":{"type":"string"},"description":"Discount target categories used as filter values. - product: Product discount. - order: Order discount. - shipping: Shipping discount. Example: ?discount_targets=product&discount_targets=order"},{"name":"source_ids","in":"query","type":"array","items":{"type":"string"},"description":"Business source IDs used as filter values. - 1: Manual creation. - 2: Goaffpro Affiliate Marketing. - 3: Fintouch. - 4: MambaSMS SMS & Marketing. - 5: Stamped Loyalty & Referrals. - 6: Product recommendation. - 999: Other. Example: ?source_ids=3001&source_ids=3002"},{"name":"discount_combines","in":"query","type":"array","items":{"type":"string"},"description":"Other discount categories that can be combined. - product: Can combine with product discounts. - order: Can combine with order discounts. - shipping: Can combine with shipping discounts. Example: ?discount_combines=product&discount_combines=shipping"}],"response_schema":"v202601.response.ListDiscountsResponse"},{"id":"discount-restart","command_path":["restart"],"summary":"Restart discount","description":"Restarts a discount.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/discounts/restart","body":"*"},"body":{"required":true,"fields":[{"name":"id","type":"string","required":true,"description":"Discount ID","min_length":1}]},"response_schema":"v202601.response.RestartDiscountResponse"},{"id":"discount-automatic-update","command_path":["update-automatic"],"summary":"Update automatic discount","description":"Updates an automatic discount by ID.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/discounts/automatic/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Discount ID","min_length":1}],"body":{"required":true,"fields":[{"name":"discount","type":"object","schema":"v202601.request.UpdateAutomaticDiscountParam","required":true,"description":"Discount data for automatic mode"}]},"response_schema":"v202601.response.UpdateAutomaticDiscountResponse"},{"id":"discount-non-automatic-update","command_path":["update-non-automatic"],"summary":"Update non-automatic discount","description":"Updates a non-automatic discount by ID.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/discounts/non-automatic/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Discount ID","min_length":1}],"body":{"required":true,"fields":[{"name":"discount","type":"object","schema":"v202601.request.UpdateNonAutomaticDiscountParam","required":true,"description":"Discount data for non-automatic mode"}]},"response_schema":"v202601.response.UpdateNonAutomaticDiscountResponse"}]},{"name":"orders","groups":{"fulfillments":{"summary":"Create and manage fulfillment records for shipped order packages","description":"A fulfillment represents the shipment of items in an order, carrying tracking numbers and\ncarrier details. Merchants and apps use fulfillments to record shipping progress and notify\ncustomers of delivery status.\nProvides endpoints to list, create, retrieve, update, complete, cancel, and count\nfulfillments under an order."},"post-sales":{"summary":"Query and manage after-sales records such as returns and exchanges."},"refunds":{"summary":"Create and query refund records for orders","description":"Refund records track money returned to customers for an order — full or partial,\ncovering products, shipping, tips, and additional fees, across one or more\npayment channels. Merchants create these records after deciding to refund a\ncustomer and the platform settles the money back through the original payment\nchannels.\nProvides endpoints to list all refund records across orders (with filters and\npagination), count refund records matching filters, list refund records for a\nspecific order, create a new refund record on an order, and mark an order's\nin-progress refund records as refunded successfully."},"risks":{"summary":"Assess and record fraud risk for individual orders","description":"Order risk records capture fraud detection results and manual risk assessments\nattached to orders, helping merchants identify potentially fraudulent transactions\nand decide whether to fulfill, hold, or cancel them.\nProvides endpoints to list platform-generated risk assessments and to create,\nquery, update, delete custom risk records (with low/medium/high risk levels\nand supporting details) for individual orders."},"shipping-schemas":{"summary":"Configure shipping zones, methods, and rates for order fulfillment","description":"Shipping configuration determines how a merchant calculates and presents delivery options\nto customers, covering the general shipping schema, shipping zones, and the shipping lines\navailable for a given order and address.\nProvides endpoints to query available shipping lines, read and save the general shipping\nschema, and create, update, or delete shipping zones."},"tracking-carriers":{"summary":"Look up shipping carrier information and registered tracking providers","description":"A tracking carrier is the logistics company that delivers a shipment to the\ncustomer. Merchants attach carrier information to fulfillments so the platform\ncan render accurate tracking updates throughout delivery.\nProvides endpoints to list all supported carriers and to look up the carrier\nfor a given tracking number."},"transactions":{"summary":"Query payment transaction records associated with an order","description":"Order transactions record every payment, authorization, refund, and related\nmoney-movement event tied to an order, giving merchants a complete audit\ntrail of what happened between the buyer, the order, and the payment gateway.\nProvides endpoints to list all transactions attached to a specific order,\nincluding status, payment channel, amount, currency, and gateway response details."}},"commands":[{"id":"order-cancel","command_path":["cancel"],"summary":"Cancel order","description":"Canceling an order by specifying its unique ID and an optional cancel reason.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/orders/{order_id}/cancel","body":"*"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"body":{"fields":[{"name":"reason","type":"string","description":"The reason for canceling the order"}]},"response_schema":"v202506.CancelOrderResponse"},{"id":"order-count","command_path":["count"],"summary":"Get order count","description":"Provides the total number of orders matching the specified query parameters.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/count"},"parameters":[{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by order IDs. Example: ?ids=1001&ids=1002"},{"name":"status","in":"query","type":"array","items":{"type":"string"},"description":"Filter by order status. - opened: pending payment. - cancelled: cancelled. - placed: in progress. - finished: completed. Example: ?status=opened&status=finished"},{"name":"fulfillment_status","in":"query","type":"array","items":{"type":"string"},"description":"Filter by order fulfillment status. - initialled: initial. - waiting: waiting to ship. - partially_shipped: partially shipped. - shipped: fully shipped. - partially_finished: partially received. - finished: fully received. - cancelled: cancelled. - returning: return in progress. - partially_returned: partially returned. - returned: fully returned. Example: ?fulfillment_status=waiting&fulfillment_status=shipped"},{"name":"financial_status","in":"query","type":"array","items":{"type":"string"},"description":"Filter by payment status. - waiting: pending payment. - paying: payment under review. - authorized: authorized. - partially_paid: partially paid. - paid: paid. - cancelled: cancelled. - failed: payment failed. - refunding: refund in progress. - refund_failed: refund failed. - refunded: fully refunded. - partially_refunded: partially refunded. Example: ?financial_status=waiting&financial_status=paid"},{"name":"recovery_status","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by cart recovery status: - `waiting`: waiting to be recalled - `sending`: recall notification in progress - `recalling`: recall in progress - `failed`: recall failed - `success`: recall successful"},{"name":"location_id","in":"query","type":"string","description":"Filter orders by location ID"},{"name":"keyword","in":"query","type":"string","description":"Keyword for searching orders"},{"name":"keyword_scope_fields","in":"query","type":"array","items":{"type":"string"},"description":"Fields to apply keyword search on. Supported values: order_no, email, phone, name, etc. Example: ?keyword_scope_fields=order_no&keyword_scope_fields=email"},{"name":"customer_id","in":"query","type":"string","description":"Filter orders by customer ID"},{"name":"total_min","in":"query","type":"number","format":"double","description":"Filter orders with total greater than or equal to this value"},{"name":"total_max","in":"query","type":"number","format":"double","description":"Filter orders with total less than or equal to this value"},{"name":"created_at_min","in":"query","type":"string","description":"Filter orders created after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"created_at_max","in":"query","type":"string","description":"Filter orders created before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_min","in":"query","type":"string","description":"Filter orders updated after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_max","in":"query","type":"string","description":"Filter orders updated before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"placed_at_min","in":"query","type":"string","description":"Filter orders placed after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"placed_at_max","in":"query","type":"string","description":"Filter orders placed before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"sales_platform","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by sales channel. Example: ?sales_platform=value1&sales_platform=value2"},{"name":"admin_hasfilter","in":"query","type":"boolean","description":"Apply the same has_filter logic as the admin-side incomplete order list: - `true`: apply filter - `false`: do not apply filter"},{"name":"finished_at_min","in":"query","type":"string","description":"Filter orders finished after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"finished_at_max","in":"query","type":"string","description":"Filter orders finished before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"fulfilled_at_min","in":"query","type":"string","description":"Filter orders fulfilled after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"fulfilled_at_max","in":"query","type":"string","description":"Filter orders fulfilled before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"last_referrer_show_created_at_min","in":"query","type":"string","description":"Filter orders by last touchpoint time start (e.g., 2018-11-02T12:30:10Z)"},{"name":"last_referrer_show_created_at_max","in":"query","type":"string","description":"Filter orders by last touchpoint time end (e.g., 2018-11-02T12:30:10Z)"},{"name":"source_name_created_at_min","in":"query","type":"string","description":"Filter orders by first touchpoint time start (e.g., 2018-11-02T12:30:10Z)"},{"name":"source_name_created_at_max","in":"query","type":"string","description":"Filter orders by first touchpoint time end (e.g., 2018-11-02T12:30:10Z)"},{"name":"shipping_emails","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by shipping address email. Example: [email protected]&[email protected]"},{"name":"shipping_phones","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by shipping address phone. Example: ?shipping_phones=13800000001&shipping_phones=13800000002"},{"name":"browser_ips","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by browser IP address. Example: ?browser_ips=1.2.3.4&browser_ips=5.6.7.8"},{"name":"product_ids","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by product ID. Example: ?product_ids=2001&product_ids=2002"},{"name":"skus","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by SKU. Example: ?skus=SKU0001&skus=SKU0002"},{"name":"spus","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by SPU. Example: ?spus=SPU0001&spus=SPU0002"},{"name":"order_tags","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by order tag. Example: ?order_tags=vip&order_tags=new"},{"name":"customer_emails","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by customer email. Example: [email protected]&[email protected]"},{"name":"fuzzy_fields","in":"query","type":"array","items":{"type":"string"},"description":"Field names to apply fuzzy matching on. Combined with fuzzy_keywords / fuzzy_relation Allowed values: - `name`: customer name (not recipient name) - `number`: order number - `id`: order ID - `sku`: product SKU (snapshot data). For exact match use `skus` - `spu`: product SPU (snapshot data). For exact match use `spus` - `tag_list`: order tags. For exact match use `order_tags` - `shipping_email`: shipping address email. For exact match use `shipping_emails` - `shipping_phone`: shipping address phone. For exact match use `shipping_phones` - `browser_ip`: order IP address. For exact match use `browser_ips` - `product_tags`: product tags (snapshot data) - `product_title`: product title (snapshot data) - `credit_card_number`: last 4 digits of the payment card - `source`: first-visit landing page - `source_name`: first-visit source - `tracking_number`: shipping tracking number - `shipping_line_name`: shipping plan name - `line_item_vendor`: product vendor - `discount_code`: discount code - `shipping_address_extra_info`: special shipping field info - `transaction_id`: payment transaction number - `customer_id`: customer ID - `last_landing_url`: last-visit landing page - `last_referrer_show`: last-visit source - `country`: country name (snapshot data; mixed CN/EN search not supported) - `shop_name`: POS shop name - `staff_contact`: POS staff Note: for fields that also have a dedicated exact-match array parameter (sku/spu/tag_list/shipping_email/shipping_phone/browser_ip), use the array parameter for full-value lookups; reserve fuzzy mode for prefix or fragment search. Example: ?fuzzy_fields=name&fuzzy_fields=number"},{"name":"fuzzy_keywords","in":"query","type":"array","items":{"type":"string"},"description":"Fuzzy keyword list. Any keyword matches in any of fuzzy_fields counts as a hit. Example: ?fuzzy_keywords=iphone&fuzzy_keywords=vip"},{"name":"fuzzy_relation","in":"query","type":"string","description":"How fuzzy_fields entries are joined: \"and\" or \"or\". Defaults to \"or\""}],"response_schema":"v202601.GetOrderCountResponse"},{"id":"order-create","command_path":["create"],"summary":"Create order","description":"Merchants can use this feature to create orders on behalf of their customers.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/orders","body":"*"},"body":{"required":true,"fields":[{"name":"order","type":"object","schema":"v202601.CreateOrderParam","required":true,"description":"Order"}]},"response_schema":"v202601.CreateOrderResponse"},{"id":"order-delete","command_path":["delete"],"summary":"Delete order","description":"Allows the deletion of a specific order by its unique ID.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/orders/{order_id}"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"response_schema":"v202506.DeleteOrderResponse"},{"id":"fulfillment-cancel","command_path":["fulfillments","cancel"],"summary":"Cancel fulfillment","description":"Cancels a specific fulfillment for an order. This action marks the fulfillment as cancelled, stopping any further processing or shipping operations.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/orders/{order_id}/fulfillments/{fulfillment_id}/cancel"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"fulfillment_id","in":"path","type":"string","required":true,"description":"Fulfillment ID to cancel","min_length":1}],"response_schema":"v202601.CancelFulfillmentResponse"},{"id":"fulfillment-complete","command_path":["fulfillments","complete"],"summary":"Complete fulfillment","description":"Marks a specific fulfillment as complete. If the fulfillment is already finished, the API retrieves and returns the fulfillment details instead.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/orders/{order_id}/fulfillments/{fulfillment_id}/complete"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"fulfillment_id","in":"path","type":"string","required":true,"description":"Fulfillment ID to complete","min_length":1}],"response_schema":"v202601.CompleteFulfillmentResponse"},{"id":"fulfillment-count","command_path":["fulfillments","count"],"summary":"Get fulfillment count","description":"Retrieves the total number of fulfillments for a specific order.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/{order_id}/fulfillments/count"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"created_at_min","in":"query","type":"string","description":"Filter fulfillments created at or after this date. ISO-8601 format, for example, \"2023-01-01T00:00:00Z\""},{"name":"created_at_max","in":"query","type":"string","description":"Filter fulfillments created at or before this date. ISO-8601 format, for example, \"2023-01-01T00:00:00Z\""},{"name":"updated_at_min","in":"query","type":"string","description":"Filter fulfillments updated at or after this date. ISO-8601 format, for example, \"2023-01-01T00:00:00Z\""},{"name":"updated_at_max","in":"query","type":"string","description":"Filter fulfillments updated at or before this date. ISO-8601 format, for example, \"2023-01-01T00:00:00Z\""}],"response_schema":"v202506.GetFulfillmentCountResponse"},{"id":"fulfillment-create","command_path":["fulfillments","create"],"summary":"Create fulfillment","description":"Creates a fulfillment for specific order items and updates their shipping details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/orders/{order_id}/fulfillments","body":"*"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"body":{"required":true,"fields":[{"name":"fulfillment","type":"object","schema":"v202506.CreateFulfillmentParam","required":true,"description":"Fulfillment data to create"}]},"response_schema":"v202601.CreateFulfillmentResponse"},{"id":"fulfillment-detail","command_path":["fulfillments","get"],"summary":"Get fulfillment","description":"Retrieves the details of a specific fulfillment for an order.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/{order_id}/fulfillments/{fulfillment_id}"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"fulfillment_id","in":"path","type":"string","required":true,"description":"Fulfillment ID to query","min_length":1}],"response_schema":"v202601.GetFulfillmentResponse"},{"id":"fulfillments","command_path":["fulfillments","list"],"summary":"List fulfillments","description":"Retrieves a list of fulfillments for the order.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/{order_id}/fulfillments"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination, use the cursor from the response to retrieve the next page"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to be returned. Ranges from 1 to 250. Default is 10","default":10,"minimum":1,"maximum":250},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"created_at_min","in":"query","type":"string","description":"Filter fulfillments created at or after this date. ISO-8601 format, for example, \"2023-01-01T00:00:00Z\""},{"name":"created_at_max","in":"query","type":"string","description":"Filter fulfillments created at or before this date. ISO-8601 format, for example, \"2023-01-01T00:00:00Z\""},{"name":"updated_at_min","in":"query","type":"string","description":"Filter fulfillments updated at or after this date. ISO-8601 format, for example, \"2023-01-01T00:00:00Z\""},{"name":"updated_at_max","in":"query","type":"string","description":"Filter fulfillments updated at or before this date. ISO-8601 format, for example, \"2023-01-01T00:00:00Z\""}],"response_schema":"v202601.ListFulfillmentResponse"},{"id":"fulfillment-update","command_path":["fulfillments","update"],"summary":"Update fulfillment","description":"Updates the details of an existing fulfillment, including tracking information and notification preferences.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/orders/{order_id}/fulfillments/{fulfillment_id}","body":"*"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"fulfillment_id","in":"path","type":"string","required":true,"description":"Fulfillment ID to update","min_length":1}],"body":{"required":true,"fields":[{"name":"fulfillment","type":"object","schema":"v202506.UpdateFulfillmentParam","required":true,"description":"Fulfillment data to update"}]},"response_schema":"v202601.UpdateFulfillmentResponse"},{"id":"order-detail","command_path":["get"],"summary":"Get order","description":"Retrieves detailed information about a specific order based on its unique ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/{order_id}"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"response_schema":"v202601.GetOrderResponse"},{"id":"order-by-number","command_path":["get-by-number"],"summary":"Get order details by number","description":"Retrieves detailed information about a specific order using its unique order number.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/number/{number}"},"parameters":[{"name":"number","in":"path","type":"string","required":true,"description":"Order number, intended to simplify merchant references","min_length":1}],"response_schema":"v202601.GetOrderByNumberResponse"},{"id":"orders","command_path":["list"],"summary":"List orders","description":"Returns a paginated list of orders, with optional filters for status, date range, and other criteria.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to return. Range: 1-250 (default is 10)","default":10,"minimum":1,"maximum":250},{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"List of IDs. Example: ?ids=1001&ids=1002"},{"name":"created_at_min","in":"query","type":"string","description":"Filter orders created after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"created_at_max","in":"query","type":"string","description":"Filter orders created before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_min","in":"query","type":"string","description":"Filter orders updated after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_max","in":"query","type":"string","description":"Filter orders updated before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"placed_at_min","in":"query","type":"string","description":"Filter orders placed after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"placed_at_max","in":"query","type":"string","description":"Filter orders placed before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"status","in":"query","type":"array","items":{"type":"string"},"description":"Filter by order status. - opened: pending payment. - cancelled: cancelled. - placed: in progress. - finished: completed. Example: ?status=opened&status=finished"},{"name":"fulfillment_status","in":"query","type":"array","items":{"type":"string"},"description":"Filter by order fulfillment status. - initialled: initial. - waiting: waiting to ship. - partially_shipped: partially shipped. - shipped: fully shipped. - partially_finished: partially received. - finished: fully received. - cancelled: cancelled. - returning: return in progress. - partially_returned: partially returned. - returned: fully returned. Example: ?fulfillment_status=waiting&fulfillment_status=shipped"},{"name":"financial_status","in":"query","type":"array","items":{"type":"string"},"description":"Filter by payment status. - waiting: pending payment. - paying: payment under review. - authorized: authorized. - partially_paid: partially paid. - paid: paid. - cancelled: cancelled. - failed: payment failed. - refunding: refund in progress. - refund_failed: refund failed. - refunded: fully refunded. - partially_refunded: partially refunded. Example: ?financial_status=waiting&financial_status=paid"},{"name":"recovery_status","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by cart recovery status: - `waiting`: waiting to be recalled - `sending`: recall notification in progress - `recalling`: recall in progress - `failed`: recall failed - `success`: recall successful"},{"name":"location_id","in":"query","type":"string","description":"Filter orders by location ID"},{"name":"keyword","in":"query","type":"string","description":"Keyword for searching orders"},{"name":"keyword_scope_fields","in":"query","type":"array","items":{"type":"string"},"description":"Fields to apply keyword search on. Example: ?keyword_scope_fields=order_no&keyword_scope_fields=email"},{"name":"sort_by","in":"query","type":"string","description":"Sort field"},{"name":"sort_direction","in":"query","type":"string","description":"Sort direction"},{"name":"customer_id","in":"query","type":"string","description":"Filter orders by customer ID"},{"name":"total_min","in":"query","type":"number","format":"double","description":"Filter orders with total greater than or equal to this value"},{"name":"total_max","in":"query","type":"number","format":"double","description":"Filter orders with total less than or equal to this value"},{"name":"sales_platform","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by sales platform. Example: ?sales_platform=value1&sales_platform=value2"},{"name":"finished_at_min","in":"query","type":"string","description":"Filter orders finished after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"finished_at_max","in":"query","type":"string","description":"Filter orders finished before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"fulfilled_at_min","in":"query","type":"string","description":"Filter orders fulfilled after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"fulfilled_at_max","in":"query","type":"string","description":"Filter orders fulfilled before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"last_referrer_show_created_at_min","in":"query","type":"string","description":"Filter orders by last touchpoint time start (e.g., 2018-11-02T12:30:10Z)"},{"name":"last_referrer_show_created_at_max","in":"query","type":"string","description":"Filter orders by last touchpoint time end (e.g., 2018-11-02T12:30:10Z)"},{"name":"source_name_created_at_min","in":"query","type":"string","description":"Filter orders by first touchpoint time start (e.g., 2018-11-02T12:30:10Z)"},{"name":"source_name_created_at_max","in":"query","type":"string","description":"Filter orders by first touchpoint time end (e.g., 2018-11-02T12:30:10Z)"},{"name":"shipping_emails","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by shipping address email. Example: [email protected]&[email protected]"},{"name":"shipping_phones","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by shipping address phone. Example: ?shipping_phones=13800000001&shipping_phones=13800000002"},{"name":"browser_ips","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by browser IP address. Example: ?browser_ips=1.2.3.4&browser_ips=5.6.7.8"},{"name":"product_ids","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by product ID. Example: ?product_ids=2001&product_ids=2002"},{"name":"skus","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by SKU. Example: ?skus=SKU0001&skus=SKU0002"},{"name":"spus","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by SPU. Example: ?spus=SPU0001&spus=SPU0002"},{"name":"order_tags","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by order tag. Example: ?order_tags=vip&order_tags=new"},{"name":"customer_emails","in":"query","type":"array","items":{"type":"string"},"description":"Filter orders by customer email. Example: [email protected]&[email protected]"},{"name":"fuzzy_fields","in":"query","type":"array","items":{"type":"string"},"description":"Field names to apply fuzzy matching on. Combined with fuzzy_keywords / fuzzy_relation Allowed values: - `name`: customer name (not recipient name) - `number`: order number - `id`: order ID - `sku`: product SKU (snapshot data). For exact match use `skus` - `spu`: product SPU (snapshot data). For exact match use `spus` - `tag_list`: order tags. For exact match use `order_tags` - `shipping_email`: shipping address email. For exact match use `shipping_emails` - `shipping_phone`: shipping address phone. For exact match use `shipping_phones` - `browser_ip`: order IP address. For exact match use `browser_ips` - `product_tags`: product tags (snapshot data) - `product_title`: product title (snapshot data) - `credit_card_number`: last 4 digits of the payment card - `source`: first-visit landing page - `source_name`: first-visit source - `tracking_number`: shipping tracking number - `shipping_line_name`: shipping plan name - `line_item_vendor`: product vendor - `discount_code`: discount code - `shipping_address_extra_info`: special shipping field info - `transaction_id`: payment transaction number - `customer_id`: customer ID - `last_landing_url`: last-visit landing page - `last_referrer_show`: last-visit source - `country`: country name (snapshot data; mixed CN/EN search not supported) - `shop_name`: POS shop name - `staff_contact`: POS staff Note: for fields that also have a dedicated exact-match array parameter (sku/spu/tag_list/shipping_email/shipping_phone/browser_ip), use the array parameter for full-value lookups; reserve fuzzy mode for prefix or fragment search. Example: ?fuzzy_fields=name&fuzzy_fields=number"},{"name":"fuzzy_keywords","in":"query","type":"array","items":{"type":"string"},"description":"Fuzzy keyword list. Any keyword matches in any of fuzzy_fields counts as a hit. Example: ?fuzzy_keywords=iphone&fuzzy_keywords=vip"},{"name":"fuzzy_relation","in":"query","type":"string","description":"How fuzzy_fields entries are joined: \"and\" or \"or\". Defaults to \"or\""}],"response_schema":"v202601.ListOrderResponse"},{"id":"order-pay-success","command_path":["pay"],"summary":"Pay order success","description":"Finalizes payment for an order and updates its status to indicate that payment has been completed.\nUsage:\n1. No params: default test payment (bogus), simulating a completed payment\n2. `payment_line` only: specify a real payment channel\nExample: {\"payment_line\":{\"payment_channel\":\"stripe\",\"payment_method\":\"credit_card\",\"transaction_no\":\"txn_xxx\"}}\n3. `gateway` only (+ optional `payment_line.transaction_no`): custom payment method (e.g. offline bank transfer)\nExample: {\"gateway\":\"bank_transfer\"}\nExample: {\"gateway\":\"bank_transfer\",\"payment_line\":{\"transaction_no\":\"txn_xxx\"}}\n4. Both `gateway` and `payment_line`: pay via the real channel in `payment_line`, with a custom display name from `gateway`\nExample: {\"gateway\":\"My Custom Name\",\"payment_line\":{\"payment_channel\":\"stripe\",\"payment_method\":\"credit_card\",\"transaction_no\":\"txn_xxx\"}}","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/orders/{order_id}/payment/success","body":"*"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"body":{"fields":[{"name":"billing_address","type":"object","schema":"v202601.BillingAddressParam","description":"The billing address details. If omitted, the existing billing address remains unchanged"},{"name":"gateway","type":"string","description":"Payment gateway name; can be used to set a custom payment gateway name. See the API usage notes.","min_length":1},{"name":"payment_line","type":"object","schema":"v202601.PaymentLineParam","description":"Payment line of the order. Specifies the actual payment channel, method, and transaction number."},{"name":"payment_lines","type":"array","items":{"type":"object","schema":"v202601.PaymentLineParam"},"description":"List of payment lines"}]},"response_schema":"v202506.PayOrderSuccessResponse"},{"id":"order-post-sale-delete","command_path":["post-sales","delete"],"summary":"Delete post-sale order","description":"Allows you to remove a specific post-sales order record (e.g., a return or exchange request) by its unique identifier.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/orders/post_sales/{post_sale_id}"},"parameters":[{"name":"post_sale_id","in":"path","type":"string","required":true,"description":"Post-sale ID"}],"response_schema":"v202506.DeletePostSaleOrderResponse"},{"id":"order-post-sales","command_path":["post-sales","list"],"summary":"List post-sale orders","description":"Retrieves a list of after-sales records (e.g., returns or exchanges) associated with orders.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/post_sales"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to return. (default is 20)","default":20,"minimum":1},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"created_at_min","in":"query","type":"string","description":"Filter to include records created on or after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"created_at_max","in":"query","type":"string","description":"Filter to include records created on or before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"status","in":"query","type":"string","description":"Post-sale status: - `pending`: pending - `processing`: processing - `finished`: completed"}],"response_schema":"v202506.ListPostSaleResponse"},{"id":"order-refund-record-count","command_path":["refunds","count"],"summary":"Get refund records count","description":"Returns the total number of refund records matching the same filters\naccepted by the list endpoint. Useful for paging UIs and dashboards.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/refund_records/count"},"parameters":[{"name":"order_ids","in":"query","type":"array","items":{"type":"string"},"description":"Filter by order IDs. Up to 10 IDs are supported. Example: ?order_ids=1001&order_ids=1002","max_length":10},{"name":"refund_order_ids","in":"query","type":"array","items":{"type":"string"},"description":"Filter by refund record IDs. Up to 20 IDs are supported. Example: ?refund_order_ids=2001&refund_order_ids=2002","max_length":20},{"name":"refund_statuses","in":"query","type":"array","items":{"type":"string"},"description":"Filter by refund status. - pending: refund in progress. - finished: refund completed. - failed: refund failed. Example: ?refund_statuses=pending&refund_statuses=finished"},{"name":"created_at_start","in":"query","type":"string","description":"Filter records created at or after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"created_at_end","in":"query","type":"string","description":"Filter records created at or before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_start","in":"query","type":"string","description":"Filter records last updated at or after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_end","in":"query","type":"string","description":"Filter records last updated at or before this time (e.g., 2018-11-02T12:30:10Z)"}],"response_schema":"v202506.GetRefundRecordTotalCountResponse"},{"id":"order-refund-record-create","command_path":["refunds","create"],"summary":"Create order refund record","description":"Attaches a new refund record to the specified order, declaring how much\nto refund and on which payment channels. Returns the new refund record id\nand the associated after-sales (post-sale) record id.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/orders/{order_id}/refund","body":"*"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"body":{"required":true,"fields":[{"name":"refund","type":"object","schema":"v202506.CreateOrderRefundRecordParam","required":true,"description":"Refund request body including amounts, line items, payment channels, and notes"}]},"response_schema":"v202506.CreateOrderRefundRecordResponse"},{"id":"order-refund-finish","command_path":["refunds","finish"],"summary":"Finish refund","description":"Marks the order's in-progress refund records as refunded successfully; afterwards the order is partially refunded or fully refunded.\nThis endpoint applies only to orders paid through a custom payment channel or the test payment channel (bogus).","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/orders/{order_id}/refund/finish","body":"*"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"body":{"required":true,"fields":[{"name":"post_sale_id","type":"string","required":true,"description":"After-sales (post-sale) record ID","min_length":1},{"name":"refund_record_id","type":"string","required":true,"description":"Refund record ID","min_length":1},{"name":"refund_time","type":"string","description":"Time when the third-party refund completed, in RFC3339 (e.g., 2018-11-02T12:30:10Z)"},{"name":"transaction_number","type":"string","description":"Refund transaction number"},{"name":"payment_channel","type":"string","description":"Refund payment channel"},{"name":"extra_info","type":"object","schema":"v202601.RefundRecordExtraInfo","description":"Extra information attached to the refund record"}]},"response_schema":"v202601.FinishRefundResponse"},{"id":"order-refund-records","command_path":["refunds","list"],"summary":"List refund records","description":"Returns refund records across all orders, paginated via cursor and filtered\nby order IDs, refund record IDs, status, sort field/direction, and create/\nupdate time ranges.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/refund_records"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Page size (1-100, default 10)","default":10,"minimum":1,"maximum":100},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"order_ids","in":"query","type":"array","items":{"type":"string"},"description":"Filter by order IDs. Up to 10 IDs are supported. Example: ?order_ids=1001&order_ids=1002","max_length":10},{"name":"refund_order_ids","in":"query","type":"array","items":{"type":"string"},"description":"Filter by refund record IDs. Up to 20 IDs are supported. Example: ?refund_order_ids=2001&refund_order_ids=2002","max_length":20},{"name":"refund_statuses","in":"query","type":"array","items":{"type":"string"},"description":"Filter by refund status. - pending: refund in progress. - finished: refund completed. - failed: refund failed. Example: ?refund_statuses=pending&refund_statuses=finished"},{"name":"sort_by","in":"query","type":"string","description":"Field used to sort the result list: - `created_at`: sort by creation time - `updated_at`: sort by last update time"},{"name":"sort_direction","in":"query","type":"string","description":"Sort direction: - `desc`: descending order - `asc`: ascending order"},{"name":"created_at_start","in":"query","type":"string","description":"Filter records created at or after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"created_at_end","in":"query","type":"string","description":"Filter records created at or before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_start","in":"query","type":"string","description":"Filter records last updated at or after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_end","in":"query","type":"string","description":"Filter records last updated at or before this time (e.g., 2018-11-02T12:30:10Z)"}],"response_schema":"v202506.ListAllRefundRecordResponse"},{"id":"order-refund-record","command_path":["refunds","list-by-order"],"summary":"List order refund records","description":"Returns all refund records attached to the specified order, along with the\norder's payment and order status at the moment of query.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/{order_id}/refund"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"response_schema":"v202506.ListOrderRefundRecordResponse"},{"id":"order-risk-create","command_path":["risks","create"],"summary":"Create order risk record","description":"Attaches a custom risk record to the specified order with a risk level\n(low/medium/high), supporting detail reasons, and optional custom\nproperties. Typically called after a manual fraud review.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/orders/{order_id}/risks","body":"*"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"body":{"required":true,"fields":[{"name":"risk","type":"object","schema":"v202506.CreateOrderRiskParam","required":true,"description":"The order risk object containing risk level and detail information"}]},"response_schema":"v202506.CreateOrderRiskResponse"},{"id":"order-risk-delete","command_path":["risks","delete"],"summary":"Delete order risk record","description":"Removes a single custom risk record from the order by its id. The order\nitself is not affected; other risk records on the same order remain.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/orders/{order_id}/risks/{id}"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"id","in":"path","type":"string","required":true,"description":"Order risk record ID","min_length":1}],"response_schema":"v202506.DeleteOrderRiskResponse"},{"id":"order-risk-detail","command_path":["risks","get"],"summary":"Get order risk record","description":"Retrieves a single risk record on the order by its id, including risk\nlevel, detail reasons, custom properties, and create/update times.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/{order_id}/risks/{id}"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"id","in":"path","type":"string","required":true,"description":"Order risk record ID","min_length":1}],"response_schema":"v202506.GetOrderRiskResponse"},{"id":"order-risk-assessments","command_path":["risks","list"],"summary":"List risk assessments","description":"Returns the platform's automated fraud-detection assessment labels and\ndetail items for the specified order. Use this to surface system-generated\nrisk signals to merchants before they decide to fulfill or cancel the order.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/{order_id}/risks"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"response_schema":"v202506.ListOrderRiskAssessmentInfoResponse"},{"id":"order-risk-update","command_path":["risks","update"],"summary":"Update order risk record","description":"Modifies the risk level, detail reasons, or custom properties of an\nexisting risk record on the order. The record is located by its id;\nthe order itself is unchanged.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/orders/{order_id}/risks/{id}","body":"*"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"id","in":"path","type":"string","required":true,"description":"Order risk record ID","min_length":1}],"body":{"required":true,"fields":[{"name":"risk","type":"object","schema":"v202506.UpdateOrderRiskParam","required":true,"description":"Order risk update parameters"}]},"response_schema":"v202506.UpdateOrderRiskResponse"},{"id":"shipping-zone-create","command_path":["shipping-schemas","create-zone"],"summary":"Create shopping zone","description":"Create a new shipping zone.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/shipping-schemas/shipping-zone","body":"*"},"body":{"fields":[{"name":"shipping","type":"object","schema":"v202506.CreateShippingParam","description":"Shipping information"}]},"response_schema":"v202506.CreateShippingZoneResponse"},{"id":"shipping-zone-delete","command_path":["shipping-schemas","delete-zone"],"summary":"Delete shopping zone","description":"Remove an existing shipping zone.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/shipping-schemas/shipping-zone/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"ID of the shipping zone to delete","min_length":1}],"response_schema":"v202506.DeleteShippingZoneResponse"},{"id":"available-shipping-lines","command_path":["shipping-schemas","get-available-lines"],"summary":"Get available shipping lines","description":"Retrieves available shipping options for the specified order and address.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/shipping-lines/available-lines","body":"*"},"body":{"required":true,"fields":[{"name":"order_id","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"country_code","type":"string","required":true,"description":"Country code","min_length":1},{"name":"province_code","type":"string","description":"Province/state code. Pass `ALL` to match all provinces (default behavior for most countries). **GB (United Kingdom) special handling:** Because shipping costs vary significantly across England (GB-ENG), Scotland (GB-SCT), Wales (GB-WLS), and Northern Ireland (GB-NIR), an empty value will not match any shipping zone. You must either: - Pass a specific province code (e.g. `GB-ENG`), or - Pass `ALL`, or - Provide `zip` instead — the system will automatically derive the province from the postal code prefix"},{"name":"zip","type":"string","description":"Zip/postal code. For GB addresses, the system uses the postal code prefix to automatically derive the province code when `province_code` is not provided."}]},"response_schema":"v202506.GetAvailableShippingLinesResponse"},{"id":"general-shipping-schema","command_path":["shipping-schemas","get-general"],"summary":"Get general shopping schema","description":"Retrieve general shopping schemas.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/shipping-schemas/general"},"response_schema":"v202506.GetGeneralShippingSchemasResponse"},{"id":"general-shipping-schema-save","command_path":["shipping-schemas","save-general"],"summary":"Save general shopping schema","description":"Create or Modify a general shipping schema.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/shipping-schemas/general","body":"*"},"body":{"fields":[{"name":"shipping_schemas","type":"object","schema":"v202506.SaveShippingSchemasParam","description":"Shipping schemas"}]},"response_schema":"v202506.SaveGeneralShippingSchemasResponse"},{"id":"shipping-zone-update","command_path":["shipping-schemas","update-zone"],"summary":"Update shopping zone","description":"Modify an existing shipping zone.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/shipping-schemas/shipping-zone/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"ID of the shipping zone to update","min_length":1}],"body":{"fields":[{"name":"shipping","type":"object","schema":"v202506.UpdateShippingParam","description":"Updated shipping zone parameters"}]},"response_schema":"v202506.UpdateShippingZoneResponse"},{"id":"tracking-carrier-detect","command_path":["tracking-carriers","detect"],"summary":"Detect carrier by tracking number","description":"Identifies the carrier responsible for handling a shipment based on the provided tracking number.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/tracking/carriers/detect"},"parameters":[{"name":"tracking_number","in":"query","type":"string","required":true,"description":"Tracking number","min_length":1}],"response_schema":"v202506.DetectCarrierResponse"},{"id":"tracking-carriers","command_path":["tracking-carriers","list"],"summary":"List carriers","description":"Returns a list of all tracking carriers supported by Shoplazza Fulfillment.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/tracking/carriers"},"response_schema":"v202506.ListCarrierResponse"},{"id":"order-transactions-batch","command_path":["transactions","batch-list"],"summary":"Batch list order transactions","description":"Batch retrieve all transactions attached to the specified orders, including\nstatus, payment channel, amount, and gateway response details.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/transactions"},"parameters":[{"name":"order_ids","in":"query","type":"array","items":{"type":"string"},"required":true,"description":"Order IDs to query. Up to 50 per request. Example: ?order_ids=1001&order_ids=1002","min_length":1,"max_length":50},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of transactions per page. Range: 1-50, default: 10.","default":10,"minimum":1,"maximum":50},{"name":"payment_channel","in":"query","type":"string","description":"Payment channel (e.g., paypal)."},{"name":"status","in":"query","type":"string","description":"Transaction status. Applies to all orders in the request: - `authorized`: the transaction has been authorized but not yet captured - `void`: the transaction has been canceled - `processing`: the transaction is currently being processed - `success`: the transaction was successfully completed - `failure` / `error`: the transaction failed. Both values exist in the data, so match both when filtering for failed transactions - `refunding`: a refund for the transaction is in progress - `refunded`: the transaction has been successfully refunded - `refund_failed`: the refund attempt for the transaction has failed - `expired`: the transaction has expired"}],"response_schema":"v202601.BatchListTransactionsResponse"},{"id":"order-transactions","command_path":["transactions","list"],"summary":"List order transactions","description":"Retrieve all transactions attached to the specified order, including\nstatus, payment channel, amount, and gateway response details.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/orders/{order_id}/transactions"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1},{"name":"status","in":"query","type":"string","description":"Transaction status: - `authorized`: the transaction has been authorized but not yet captured - `void`: the transaction has been canceled - `processing`: the transaction is currently being processed - `success`: the transaction was successfully completed - `failure` / `error`: the transaction failed. Both values exist in the data, so match both when filtering for failed transactions - `refunding`: a refund for the transaction is in progress - `refunded`: the transaction has been successfully refunded - `refund_failed`: the refund attempt for the transaction has failed - `expired`: the transaction has expired"},{"name":"payment_channel","in":"query","type":"string","description":"Payment channel (e.g., paypal)"}],"response_schema":"v202506.ListTransactionResponse"},{"id":"order-update","command_path":["update"],"summary":"Update order","description":"Allows users to update the details of an existing order.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/orders/{order_id}","body":"*"},"parameters":[{"name":"order_id","in":"path","type":"string","required":true,"description":"Order ID","min_length":1}],"body":{"required":true,"fields":[{"name":"order","type":"object","schema":"v202601.UpdateOrderParam","required":true,"description":"Order"}]},"response_schema":"v202601.UpdateOrderResponse"}]},{"name":"products","groups":{"categories":{"summary":"Manage product categories for storefront navigation","description":"A category is a standard product taxonomy entry that merchants can assign to products to\ndescribe what kind of item is being sold. Categories help organize the catalog and power\nchannel-specific behaviors such as tax classification and marketplace mapping."},"collections":{"summary":"Manage curated product collections displayed on the storefront","description":"A collection is a grouping of products that the merchant displays together in the storefront,\nsuch as a seasonal lineup or a curated set. Each collection carries its own title,\ndescription, SEO attributes, associated products, and merchandise sorting rules.\nProvides endpoints to create, list, retrieve, update, and delete collections, and to count\ncollections matching given criteria."},"collects":{"summary":"Manage product-collection associations (collects) used to organize products into collections","description":"A collect represents the many-to-many association between a product and a custom collection\nin the merchant's catalog. Merchants and apps create collects to add products to a\ncollection and remove collects to take them out.\nProvides endpoints to create, list, retrieve, and delete collects, count collects matching\ngiven criteria, and batch-create product-collection associations."},"comments":{"summary":"Manage customer reviews and feedback on merchant products","description":"Product comments are reviews and feedback that shoppers leave on a merchant's products.\nMerchants and apps use them to gather customer feedback and surface social proof on\nproduct pages.\nProvides endpoints to create product comments individually or in batch and to list them."},"gift-cards":{"summary":"Create and manage gift cards redeemable as store credit at checkout","description":"Gift cards are prepaid stored-value certificates issued by merchants that customers can redeem\ntoward future purchases. Each gift card carries an initial value, a remaining balance, an optional\nexpiration date, and can be linked to a specific customer or order.\nProvides endpoints to create single or batch gift cards, list and search gift cards with filters,\nretrieve gift card details, update editable fields (expiration, note, template), and disable\ngift cards that should no longer be redeemable."},"images":{"summary":"Upload and manage images attached to products","description":"Product images are the visual assets attached to a product, used to display the product on\nstorefront pages and within merchant tools.\nProvides endpoints to list, create, get, update, delete, and count images belonging to a\ngiven product."},"inventory":{"summary":"Manage inventory levels for product variants across warehouse locations","description":"Inventory tracks stock for product variants across locations, including SKUs, quantities,\nand stock policies. Merchants and apps use it to keep storefront availability and warehouse\nstock in sync.\nProvides endpoints to query product inventory, manage inventory items and variant items, and\nlist, create, set, update, or delete inventory levels at locations."},"locations":{"summary":"Manage warehouse and retail locations used for inventory and fulfillment","description":"A location is a physical or virtual site such as a warehouse or store that holds the\nmerchant's inventory. Merchants and apps use locations to organize stock distribution and\nrouting of orders to fulfillment sites.\nProvides endpoints to list, retrieve, count, and query inventory levels of locations, manage\nthe default location, deactivate a location, and adjust location priority."},"procurement":{"summary":"Create and manage procurement orders submitted to suppliers","description":"Procurement records track inbound stock that a merchant orders from suppliers, including\nthe items to be received, quantities, and the receipt lifecycle from creation to\ncancellation or full receipt.\nProvides endpoints to create, list, get, update, and cancel procurement records, mark them\nas received, and batch create, list, update, or delete the items within a procurement."},"suppliers":{"summary":"Manage supplier profiles and vendor information for procurement","description":"A supplier represents an external vendor that provides goods to the merchant's store and is\nreferenced by procurement and inventory flows.\nProvides endpoints to list, create, update, and retrieve suppliers."},"variants":{"summary":"Manage product variants (SKUs) including price, inventory, and attributes","description":"A variant represents a specific SKU under a product, distinguished by options such as size\nor color, and carries its own price, inventory, and identifiers.\nProvides endpoints to create, retrieve, update, list, delete, and count variants under a\nproduct, as well as update and list variants by SKU."}},"commands":[{"id":"product-batch-delete","command_path":["batch-delete"],"summary":"Batch delete products","description":"Batch delete products by their IDs.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/products"},"parameters":[{"name":"product_ids","in":"query","type":"array","items":{"type":"string"},"required":true,"description":"List of product IDs to delete","min_length":1}],"response_schema":"v202601.BatchDeleteProductsResponse"},{"id":"categories","command_path":["categories","list"],"summary":"List categories","description":"List all categories in the shop","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/categories"},"parameters":[{"name":"pid","in":"query","type":"integer","format":"uint64","description":"Pid of the category"},{"name":"ids","in":"query","type":"array","items":{"type":"integer","format":"uint64"},"description":"ID of the categories. Example: ?ids=1001&ids=1002"}],"response_schema":"v202506.ListCategoryResponse"},{"id":"collection-async-create","command_path":["collections","async-create"],"summary":"Asynchronously create a smart collection","description":"Initiates an asynchronous creation of a smart collection. Only smart collections are supported by this endpoint.\nReturns an async task ID immediately; use GetCollectionAsyncTask to poll the result.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/collections/async","body":"*"},"body":{"required":true,"fields":[{"name":"collection","type":"object","schema":"v202601.CreateCollectionParam","required":true,"description":"Collection"}]},"response_schema":"v202601.AsyncCreateCollectionResponse"},{"id":"smart-collection-rule-async-update","command_path":["collections","async-update-smart-rule"],"summary":"Asynchronously update smart collection rules","description":"Initiates an asynchronous update of a smart collection's match rules. Returns an async task ID immediately;\nuse GetCollectionAsyncTask to poll the result.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/collections/{id}/smart-rule/async","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Collection ID"}],"body":{"fields":[{"name":"match_rules","type":"object","schema":"v202601.MatchRuleParam","description":"Smart collection match rules"}]},"response_schema":"v202601.AsyncUpdateSmartCollectionRuleResponse"},{"id":"collection-count","command_path":["collections","count"],"summary":"Get collection count","description":"Retrieve the total number of collections that match specific criteria.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/collections/count"},"parameters":[{"name":"updated_at_min","in":"query","type":"string","description":"ISO 8601 timestamp. Only include collections updated after this time"},{"name":"updated_at_max","in":"query","type":"string","description":"ISO 8601 timestamp. Only include collections updated before this time"}],"response_schema":"v202601.GetCollectionCountResponse"},{"id":"collection-create","command_path":["collections","create"],"summary":"Create collection","description":"Allows users to create a new collection in the store, including details like the title, description, associated products, SEO attributes, and merchandise sorting rules.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/collections","body":"*"},"body":{"required":true,"fields":[{"name":"collection","type":"object","schema":"v202601.CreateCollectionParam","required":true,"description":"Collection"}]},"response_schema":"v202601.CreateCollectionResponse"},{"id":"collection-delete","command_path":["collections","delete"],"summary":"Delete collection","description":"Allows users to delete a specific collection by providing its unique ID in the path parameter.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/collections/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Collection ID. Must be a valid UUID"}],"response_schema":"v202601.DeleteCollectionResponse"},{"id":"collection-detail","command_path":["collections","get"],"summary":"Get collection","description":"Retrieves detailed information about a specific collection by providing its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/collections/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Collection ID. Must be a valid UUID"}],"response_schema":"v202601.GetCollectionResponse"},{"id":"collection-async-task-detail","command_path":["collections","get-async-task"],"summary":"Get collection async task","description":"Retrieves the status and result of an asynchronous collection task initiated by AsyncCreateCollection or AsyncUpdateSmartCollectionRule.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/collections/async-task/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Async task ID returned by AsyncCreateCollection or AsyncUpdateSmartCollectionRule","min_length":1},{"name":"source_id","in":"query","type":"string","description":"Source resource ID this task operates on (e.g. collection UUID). Used as an alternative lookup key together with task_type when async task ID is unknown"},{"name":"task_type","in":"query","type":"string","description":"Task type. Allowed values: - `create_collection`: async smart collection creation - `update_smart_collection_rule`: async smart collection rule update"}],"response_schema":"v202601.GetCollectionAsyncTaskResponse"},{"id":"collections","command_path":["collections","list"],"summary":"List collections","description":"Retrieves a list of collections based on various filter criteria, such as product_id, title, or update timestamps.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/collections"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to return. Range: 1-100 (default is 10)","default":10,"minimum":1,"maximum":100},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"List of collection IDs to retrieve specific collections. Example: ?ids=1001&ids=1002"},{"name":"title","in":"query","type":"string","description":"Filter collections by their title (supports partial matching)"},{"name":"updated_at_min","in":"query","type":"string","description":"Minimum timestamp for filtering collections by their last updated date. Format: YYYY-MM-DDTHH:mm:ssZ"},{"name":"updated_at_max","in":"query","type":"string","description":"Maximum timestamp for filtering collections by their last updated date. Format: YYYY-MM-DDTHH:mm:ssZ"},{"name":"product_id","in":"query","type":"string","description":"UUID of a product to filter collections that include the product"},{"name":"smart","in":"query","type":"boolean","description":"Filter whether smart collection"}],"response_schema":"v202601.ListCollectionResponse"},{"id":"collection-update","command_path":["collections","update"],"summary":"Update collection","description":"Allows users to update details of an existing collection by providing the collection ID and the desired updates in the request body.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/collections/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Collection ID. Must be a valid UUID"}],"body":{"required":true,"fields":[{"name":"collection","type":"object","schema":"v202601.UpdateCollectionParam","required":true,"description":"Collection"}]},"response_schema":"v202601.UpdateCollectionResponse"},{"id":"smart-collection-rule-update","command_path":["collections","update-smart-rule"],"summary":"Update smart collection rules","description":"Allows users to update smart collection rules by providing the collection ID and the desired updates in the request body.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/collections/{id}/smart-rule","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Collection ID"}],"body":{"fields":[{"name":"match_rules","type":"object","schema":"v202601.MatchRuleParam","description":"Smart collection match rules"}]},"response_schema":"v202601.UpdateSmartCollectionRuleResponse"},{"id":"collect-batch-create","command_path":["collects","batch-create"],"summary":"Batch create collect","description":"Creates multiple product-collection associations in a single request.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/collects/batch","body":"*"},"body":{"required":true,"fields":[{"name":"collection_id","type":"string","required":true,"description":"Collection ID"},{"name":"product_ids","type":"array","items":{"type":"string"},"required":true,"description":"Product ID","min_length":1}]},"response_schema":"v202506.BatchCreateCollectResponse"},{"id":"collect-count","command_path":["collects","count"],"summary":"Get collect count","description":"Retrieves the total number of collect objects that associate products with a collection.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/collects/count"},"parameters":[{"name":"collection_id","in":"query","type":"string","description":"Collection ID","min_length":1},{"name":"product_id","in":"query","type":"string","description":"Product ID"}],"response_schema":"v202506.GetCollectCountResponse"},{"id":"collect-create","command_path":["collects","create"],"summary":"Create collect","description":"Associates a product with a collection by creating a collect object.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/collects","body":"*"},"body":{"required":true,"fields":[{"name":"collect","type":"object","schema":"v202506.CreateCollectParam","required":true,"description":"Collect (product-collection relation)"}]},"response_schema":"v202506.CreateCollectResponse"},{"id":"collect-delete","command_path":["collects","delete"],"summary":"Delete collect","description":"Removes an association between a product and a collection by deleting a collect object.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/collects/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The unique identifier of the collect. Must be a valid UUID"}],"response_schema":"v202506.DeleteCollectResponse"},{"id":"collect-detail","command_path":["collects","get"],"summary":"Get collect","description":"Retrieves detailed information about a specific collect by its unique identifier (id)","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/collects/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The unique identifier of the collect. Must be a valid UUID"}],"response_schema":"v202506.GetCollectResponse"},{"id":"collects","command_path":["collects","list"],"summary":"List collects","description":"Retrieves a list of collect objects, representing the associations between products and collections.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/collects"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to return. Range: 1-100 (default is 10)","default":10,"minimum":1,"maximum":100},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"collection_id","in":"query","type":"string","description":"UUID of the collection to filter collects"},{"name":"product_id","in":"query","type":"string","description":"UUID of the product to filter collects"}],"response_schema":"v202506.ListCollectResponse"},{"id":"comment-batch-create","command_path":["comments","batch-create"],"summary":"Batch create comment","description":"Allows users to create multiple comments for products in a single request.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/comments/batch","body":"*"},"body":{"required":true,"fields":[{"name":"comments","type":"array","items":{"type":"object","schema":"v202506.CreateCommentParam"},"required":true,"description":"List of comments","min_length":1}]},"response_schema":"v202506.BatchCreateCommentsResponse"},{"id":"comment-create","command_path":["comments","create"],"summary":"Create comment","description":"Allows users to add a comment to a specific product.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/comments","body":"*"},"body":{"required":true,"fields":[{"name":"comment","type":"object","schema":"v202506.CreateCommentParam","required":true,"description":"Comment"}]},"response_schema":"v202506.CreateCommentResponse"},{"id":"comments","command_path":["comments","list"],"summary":"List comments","description":"Retrieve a list of comments for a specific product or across multiple products, based on various filters.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/comments/list"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Limit per page","minimum":1},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"product_id","in":"query","type":"string","description":"Product's ID to filter comments"},{"name":"created_at_min","in":"query","type":"string","description":"Filters comments created at or after this date. Format: YYYY-MM-DDTHH:mm:ssZ"},{"name":"created_at_max","in":"query","type":"string","description":"Filters comments created at or before this date. Format: YYYY-MM-DDTHH:mm:ssZ"},{"name":"updated_at_min","in":"query","type":"string","description":"Filters comments updated at or after this date. Format: YYYY-MM-DDTHH:mm:ssZ"},{"name":"updated_at_max","in":"query","type":"string","description":"Filters comments updated at or before this date. Format: YYYY-MM-DDTHH:mm:ssZ"},{"name":"sort_by","in":"query","type":"string","description":"Specify the sort field. e.g.star or created_at"},{"name":"sort_direction","in":"query","type":"string","description":"Specify the sort direction. asc or desc"},{"name":"status","in":"query","type":"string","description":"Comment status. 1 for published, 0 for unpublished"}],"response_schema":"v202506.ListCommentResponse"},{"id":"product-count","command_path":["count"],"summary":"Count products","description":"Count the number of products based on the provided filters.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products/count"},"parameters":[{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"Product's IDs. Example: ?ids=2001&ids=2002"},{"name":"title","in":"query","type":"string","description":"Product's title"},{"name":"collection_id","in":"query","type":"string","description":"Collection UUID, for example: `9e79ca1f-9ff2-409b-976f-98be343d38a3`"},{"name":"created_at_min","in":"query","type":"string","description":"Filter products created at or after date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"created_at_max","in":"query","type":"string","description":"Filter products created at or before date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"updated_at_min","in":"query","type":"string","description":"Filter products last updated at or after date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"updated_at_max","in":"query","type":"string","description":"Filter products last updated at or before date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"published_at_min","in":"query","type":"string","description":"Filter products published at or after date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"published_at_max","in":"query","type":"string","description":"Filter products published at or before date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"published_status","in":"query","type":"string","description":"Filter by published status: `published`, `unpublished`, `any`"}],"response_schema":"v202506.CountProductsResponse"},{"id":"product-create","command_path":["create"],"summary":"Create product","description":"Create a new product with the provided details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/products","body":"*"},"body":{"required":true,"fields":[{"name":"product","type":"object","schema":"v202506.Product","required":true,"description":"Product data to be created"}]},"response_schema":"v202506.CreateProductResponse"},{"id":"product-delete","command_path":["delete"],"summary":"Delete product","description":"Delete a product by its ID.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/products/{product_id}"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"Specifies which product is to be deleted"}],"response_schema":"v202506.DeleteProductResponse"},{"id":"product-detail","command_path":["get"],"summary":"Get product","description":"Retrieve a single product by its ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products/{product_id}"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"Specifies which product is to be retrieved"}],"response_schema":"v202506.GetProductResponse"},{"id":"gift-card-batch-create","command_path":["gift-cards","batch-create"],"summary":"Batch create gift cards","description":"Creates gift cards for a specific customer or store.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/gift_cards/batch","body":"*"},"body":{"fields":[{"name":"gift_cards","type":"array","items":{"type":"object","schema":"v202506.BatchCreateGiftCardParam"},"description":"Gift card information"}]},"response_schema":"v202506.BatchCreateGiftCardResponse"},{"id":"gift-card-create","command_path":["gift-cards","create"],"summary":"Create gift card","description":"Creates a new gift card for a specific customer or store.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/gift_cards","body":"*"},"body":{"required":true,"fields":[{"name":"gift_card","type":"object","schema":"v202506.CreateGiftCardParam","required":true,"description":"Gift card information"}]},"response_schema":"v202506.CreateGiftCardResponse"},{"id":"gift-card-disable","command_path":["gift-cards","disable"],"summary":"Disable gift card","description":"Disables a specific gift card using its unique ID.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/gift_cards/{id}/disable"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Gift card's unique ID"}],"response_schema":"v202506.DisableGiftCardResponse"},{"id":"gift-card-detail","command_path":["gift-cards","get"],"summary":"Get gift card","description":"Retrieves details of a specific gift card by its ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/gift_cards/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Gift card's unique ID"}],"response_schema":"v202506.GetGiftCardResponse"},{"id":"gift-cards","command_path":["gift-cards","list"],"summary":"List gift cards","description":"Retrieves a list of gift cards with various filtering options.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/gift_cards"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records per page. The default value is 10","default":10,"minimum":1},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"List of gift card IDs to filter by. Example: ?ids=GC1001&ids=GC1002"},{"name":"created_at_min","in":"query","type":"string","description":"Filter gift cards created at or after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"created_at_max","in":"query","type":"string","description":"Filter gift cards created at or before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_min","in":"query","type":"string","description":"Filter gift cards last updated at or after this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"updated_at_max","in":"query","type":"string","description":"Filter gift cards last updated at or before this time (e.g., 2018-11-02T12:30:10Z)"},{"name":"initial_value_min","in":"query","type":"number","format":"float","description":"Filter gift cards with initial value greater than or equal to this amount"},{"name":"initial_value_max","in":"query","type":"number","format":"float","description":"Filter gift cards with initial value less than or equal to this amount"},{"name":"status","in":"query","type":"string","description":"Status of the gift card: - `enable`: gift card is active and usable - `disable`: gift card is disabled and cannot be used"},{"name":"balance_status","in":"query","type":"string","description":"Filter by balance status of the gift card"},{"name":"keyword","in":"query","type":"string","description":"Keyword for searching gift cards (e.g., matches against code or note)"},{"name":"sort_by","in":"query","type":"string","description":"Field to sort the results by (e.g., created_at, updated_at)"},{"name":"sort_direction","in":"query","type":"string","description":"Sort direction: - `asc`: ascending order - `desc`: descending order"}],"response_schema":"v202506.GetGiftCardListResponse"},{"id":"gift-card-update","command_path":["gift-cards","update"],"summary":"Update gift card","description":"Updates the details of a specific gift card using its unique ID.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/gift_cards/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Gift card's unique ID"}],"body":{"required":true,"fields":[{"name":"gift_card","type":"object","schema":"v202506.UpdateGiftCardParam","required":true,"description":"Gift card"}]},"response_schema":"v202506.UpdateGiftCardResponse"},{"id":"product-image-count","command_path":["images","count"],"summary":"Get product image count","description":"Retrieve the total number of product image.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products/{product_id}/images/count"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The unique identifier for the product"}],"response_schema":"v202506.GetProductImageCountResponse"},{"id":"product-image-create","command_path":["images","create"],"summary":"Create product image","description":"Create a new product image with the provided details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/products/{product_id}/images","body":"*"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The unique identifier for the product"}],"body":{"required":true,"fields":[{"name":"image","type":"object","schema":"v202506.CreateProductImageParam","required":true,"description":"Image"}]},"response_schema":"v202506.CreateProductImageResponse"},{"id":"product-image-delete","command_path":["images","delete"],"summary":"Delete product image","description":"Delete a specific product image using its unique identifier.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/products/{product_id}/images/{image_id}"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The unique identifier for the product"},{"name":"image_id","in":"path","type":"string","required":true,"description":"The unique identifier of the image"}],"response_schema":"v202506.DeleteProductImageResponse"},{"id":"product-image-detail","command_path":["images","get"],"summary":"Get product image","description":"Retrieve details of a specific product image using its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products/{product_id}/images/{image_id}"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The unique identifier for the product"},{"name":"image_id","in":"path","type":"string","required":true,"description":"The unique identifier of the image"}],"response_schema":"v202506.GetProductImageResponse"},{"id":"product-images","command_path":["images","list"],"summary":"List product images","description":"Retrieve a list of all product image with pagination.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products/{product_id}/images"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The unique identifier for the product"}],"response_schema":"v202506.ListProductImageResponse"},{"id":"product-image-update","command_path":["images","update"],"summary":"Update product image","description":"Update the details of an existing product image using its unique identifier.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/products/{product_id}/images/{image_id}","body":"*"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The unique identifier for the product"},{"name":"image_id","in":"path","type":"string","required":true,"description":"The unique identifier of the image"}],"body":{"required":true,"fields":[{"name":"image","type":"object","schema":"v202506.UpdateProductImageParam","required":true,"description":"Image"}]},"response_schema":"v202506.UpdateProductImageResponse"},{"id":"inventory-level-create","command_path":["inventory","create-level"],"summary":"Create inventory","description":"Sets the inventory level for a specific location and inventory item.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/inventory_levels","body":"*"},"body":{"required":true,"fields":[{"name":"inventory_item_id","type":"string","required":true,"description":"Inventory item ID","min_length":1},{"name":"location_id","type":"string","required":true,"description":"Location ID","min_length":1}]},"response_schema":"v202506.CreateInventoryLevelResponse"},{"id":"inventory-level-delete","command_path":["inventory","delete-level"],"summary":"Delete inventory","description":"Deletes an inventory level for a specific location and inventory item.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/inventory_levels","body":"*"},"body":{"required":true,"fields":[{"name":"inventory_item_id","type":"string","required":true,"description":"Inventory item ID","min_length":1},{"name":"location_id","type":"string","required":true,"description":"Location ID","min_length":1}]},"response_schema":"v202506.DeleteInventoryLevelResponse"},{"id":"product-inventory","command_path":["inventory","get"],"summary":"Get product inventory","description":"Retrieves the inventory details of a product by its unique identifier (product_id).","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products/{product_id}/inventory"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"Product ID"},{"name":"location_id","in":"query","type":"integer","format":"uint64","description":"Location to filter inventory details (optional) ID"}],"response_schema":"v202506.GetProductInventoryResponse"},{"id":"inventory-item","command_path":["inventory","get-item"],"summary":"Get inventory item","description":"Retrieves details of a specific inventory item by its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/inventory_items/{inventory_item_id}"},"parameters":[{"name":"inventory_item_id","in":"path","type":"string","required":true,"description":"Inventory item ID","min_length":1}],"response_schema":"v202506.GetInventoryItemResponse"},{"id":"inventory-item-variants","command_path":["inventory","list-by-variant"],"summary":"List variant inventory items","description":"Returns a list of inventory items associated with product variants.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/inventory_items/variant"},"parameters":[{"name":"variant_ids","in":"query","type":"array","items":{"type":"string"},"required":true,"description":"List of variant ids, must contain at least one ID. Example: ?variant_ids=2001&variant_ids=2002","min_length":1}],"response_schema":"v202506.ListVariantInventoryItemResponse"},{"id":"inventory-items","command_path":["inventory","list-items"],"summary":"List inventory items","description":"Returns a paginated list of inventory items.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/inventory_items"},"parameters":[{"name":"inventory_item_ids","in":"query","type":"array","items":{"type":"string"},"required":true,"description":"List of inventory ids, must contain at least one ID. Example: ?inventory_item_ids=1001&inventory_item_ids=1002","min_length":1},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to return","minimum":0},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"}],"response_schema":"v202506.ListInventoryItemResponse"},{"id":"inventory-levels","command_path":["inventory","list-levels"],"summary":"List inventory","description":"Returns a paginated list of inventory levels.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/inventory_levels"},"parameters":[{"name":"inventory_item_ids","in":"query","type":"array","items":{"type":"string"},"description":"List of inventory item IDs. Example: ?inventory_item_ids=1003&inventory_item_ids=1004"},{"name":"location_ids","in":"query","type":"array","items":{"type":"string"},"description":"Location to filter inventory details (optional) ID. Example: ?location_ids=3001&location_ids=3002"},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to return","minimum":0},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"updated_at_min","in":"query","type":"string","description":"Minimum update time (ISO 8601 format, e.g., 2018-10-01T16:15:47-04:00)"}],"response_schema":"v202506.ListInventoryLevelResponse"},{"id":"inventory-level-set","command_path":["inventory","set-stock"],"summary":"Set inventory quantity","description":"Sets the inventory level for a specific location and inventory item.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/inventory_levels/set","body":"*"},"body":{"required":true,"fields":[{"name":"inventory_item_id","type":"string","required":true,"description":"Inventory item ID","min_length":1},{"name":"location_id","type":"string","required":true,"description":"Location ID","min_length":1},{"name":"stock","type":"integer","format":"int32","description":"Stock quantity"}]},"response_schema":"v202506.SetInventoryLevelResponse"},{"id":"inventory-item-update","command_path":["inventory","update-item"],"summary":"Update inventory item","description":"Updates the details of an existing inventory item.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/inventory_items/{inventory_item_id}","body":"*"},"parameters":[{"name":"inventory_item_id","in":"path","type":"string","required":true,"description":"Inventory item ID","min_length":1}],"body":{"required":true,"fields":[{"name":"inventory_item","type":"object","schema":"v202506.UpdateInventoryItemParam","required":true,"description":"Inventory item"}]},"response_schema":"v202506.UpdateInventoryItemResponse"},{"id":"inventory-level-update","command_path":["inventory","update-level"],"summary":"Update inventory","description":"Updates the inventory level for a specific location and inventory item.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/inventory_levels","body":"*"},"body":{"required":true,"fields":[{"name":"inventory_item_id","type":"string","required":true,"description":"Inventory item ID","min_length":1},{"name":"location_id","type":"string","required":true,"description":"Location ID","min_length":1},{"name":"stock_adjustment","type":"integer","format":"int32","required":true,"description":"Stock adjustment"}]},"response_schema":"v202506.UpdateInventoryLevelResponse"},{"id":"products","command_path":["list"],"summary":"List products","description":"Retrieve a list of products with pagination.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products"},"parameters":[{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"Product's IDs. Example: ?ids=1001&ids=1002"},{"name":"title","in":"query","type":"string","description":"Product's title"},{"name":"collection_id","in":"query","type":"string","description":"Collection UUID, for example: `9e79ca1f-9ff2-409b-976f-98be343d38a3`"},{"name":"created_at_min","in":"query","type":"string","description":"Filter products created at or after date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"created_at_max","in":"query","type":"string","description":"Filter products created at or before date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"updated_at_min","in":"query","type":"string","description":"Filter products last updated at or after date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"updated_at_max","in":"query","type":"string","description":"Filter products last updated at or before date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"published_at_min","in":"query","type":"string","description":"Filter products published at or after date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"published_at_max","in":"query","type":"string","description":"Filter products published at or before date, for example: `2018-10-01T16:15:47-04:00`"},{"name":"published_status","in":"query","type":"string","description":"Filter by published status: `published`, `unpublished`, `any`"},{"name":"spus","in":"query","type":"array","items":{"type":"string"},"description":"Product's SPUs, separated by comma, for example: `spu1,spu2`"},{"name":"pre_cursor","in":"query","type":"string","description":"Previous page cursor for cursor-based pagination"},{"name":"cursor","in":"query","type":"string","description":"Page cursor for cursor-based pagination"},{"name":"per_page","in":"query","type":"integer","format":"int32","description":"Limit per page, maximum 250","minimum":1,"maximum":250},{"name":"fields","in":"query","type":"array","items":{"type":"string"},"description":"Filter fields return in responses. Example: ?fields=id&fields=title"},{"name":"sort_direction","in":"query","type":"string","description":"Sort by direction, possible values are: `desc`, `asc`"},{"name":"exclude_ids","in":"query","type":"array","items":{"type":"string"},"description":"Exclude_ids is used to exclude products by their IDs, for example: `product_id1,product_id2`"},{"name":"product_type","in":"query","type":"string","description":"Filter by product type, available values are: `all`, `default`, `gift_card`, empty means all products"},{"name":"product_behaviour","in":"query","type":"string","description":"Product behaviour, available values are: `hidden`, empty means all products"},{"name":"location_id","in":"query","type":"integer","format":"uint64","description":"Filter by the location ID of the stock"},{"name":"vendors","in":"query","type":"array","items":{"type":"string"},"description":"Filter by the vendor of the product. Example: ?vendors=Nike&vendors=Adidas"},{"name":"vendors_match","in":"query","type":"array","items":{"type":"string"},"description":"Fuzzy matching filter by the vendor of the product. Example: ?vendors_match=Nik&vendors_match=Adid"},{"name":"handles","in":"query","type":"array","items":{"type":"string"},"description":"Filter products by the handles. Example: ?handles=t-shirt&handles=hoodie"}],"response_schema":"v202506.ListProductsResponse"},{"id":"location-count","command_path":["locations","count"],"summary":"Count locations","description":"Count all locations for shipping, inventory, and order fulfillment.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/locations/count"},"response_schema":"v202506.CountLocationResponse"},{"id":"location-deactivate","command_path":["locations","deactivate"],"summary":"Deactivate location","description":"Deactivate location","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/locations/deactivate"},"parameters":[{"name":"location_id","in":"query","type":"integer","format":"uint64","description":"Location ID"},{"name":"target_location_id","in":"query","type":"integer","format":"uint64","description":"Target location ID"}],"response_schema":"v202506.DeactivateLocationResponse"},{"id":"location-edit-priority","command_path":["locations","edit-priority"],"summary":"Edit location priority","description":"edit location priority","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/locations/priority"},"parameters":[{"name":"location_ids","in":"query","type":"array","items":{"type":"integer","format":"uint64"},"description":"List of location IDs","min_length":1}],"response_schema":"v202506.EditLocationPriorityResponse"},{"id":"location-detail","command_path":["locations","get"],"summary":"Get location","description":"Get location for shipping, inventory, and order fulfillment by id","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/locations/{location_id}"},"parameters":[{"name":"location_id","in":"path","type":"integer","format":"uint64","required":true,"description":"Location ID"}],"response_schema":"v202506.GetLocationResponse"},{"id":"location-get-default","command_path":["locations","get-default"],"summary":"Get default location","description":"Get default location.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/locations/default"},"response_schema":"v202506.GetDefaultLocationResponse"},{"id":"location-inventory-levels","command_path":["locations","inventory-levels"],"summary":"List inventory levels","description":"List all inventory information of this location.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/locations/{location_id}/inventory_levels"},"parameters":[{"name":"location_id","in":"path","type":"integer","format":"uint64","required":true,"description":"Location ID"},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records per page"},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"}],"response_schema":"v202506.ListLocationInventoryLevelsResponse"},{"id":"locations","command_path":["locations","list"],"summary":"List locations","description":"List all locations for shipping, inventory, and order fulfillment.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/locations"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor of the next page"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records per page"},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"status","in":"query","type":"string","description":"Default to 0; 0: All, 1: Search the warehouse that is enabled, 2: Search the warehouse that is not enabled","enum":["Unknown","Activate","Deactivate"]},{"name":"sort_by","in":"query","type":"string","description":"Sort field. Defaults to listing the default location first. Supports \"priority\""}],"response_schema":"v202506.ListLocationsResponse"},{"id":"location-change-default","command_path":["locations","set-default"],"summary":"Change default location","description":"change default location","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/locations/default"},"parameters":[{"name":"location_id","in":"query","type":"integer","format":"uint64","description":"Location ID"}],"response_schema":"v202506.ChangeDefaultLocationResponse"},{"id":"procurement-item-batch-create","command_path":["procurement","batch-create-items"],"summary":"Batch create procurement items","description":"Allows the bulk addition of procurement items to a procurement record.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/procurements/{procurement_id}/items","body":"*"},"parameters":[{"name":"procurement_id","in":"path","type":"string","required":true,"description":"The unique identifier of the procurement record","min_length":1}],"body":{"required":true,"fields":[{"name":"items","type":"array","items":{"type":"object","schema":"v202506.CreateProcurementItemParam"},"required":true,"description":"The array of items to be added to the procurement record","min_length":1}]},"response_schema":"v202506.BatchCreateProcurementItemResponse"},{"id":"procurement-item-batch-delete","command_path":["procurement","batch-delete-items"],"summary":"Batch delete procurement items","description":"Removes multiple items from a specific procurement order.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/procurements/{procurement_id}/items","body":"*"},"parameters":[{"name":"procurement_id","in":"path","type":"string","required":true,"description":"The unique identifier of the procurement record","min_length":1}],"body":{"required":true,"fields":[{"name":"procurement_item_ids","type":"array","items":{"type":"string"},"required":true,"description":"An array of IDs of procurement items to delete","min_length":1}]},"response_schema":"v202506.BatchDeleteProcurementItemResponse"},{"id":"procurement-item-batch-update","command_path":["procurement","batch-update-items"],"summary":"Batch update procurement items","description":"allows bulk updating of procurement item quantities in a specified procurement.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/procurements/{procurement_id}/items","body":"*"},"parameters":[{"name":"procurement_id","in":"path","type":"string","required":true,"description":"The unique identifier of the procurement record","min_length":1}],"body":{"required":true,"fields":[{"name":"items","type":"array","items":{"type":"object","schema":"v202506.UpdateProcurementItemParam"},"required":true,"description":"The array of items to be added to the procurement record","min_length":1}]},"response_schema":"v202506.BatchUpdateProcurementItemResponse"},{"id":"procurement-cancel","command_path":["procurement","cancel"],"summary":"Cancel procurement","description":"Allows canceling an existing procurement record by its unique identifier (id).","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/procurements/{procurement_id}/cancel"},"parameters":[{"name":"procurement_id","in":"path","type":"string","required":true,"description":"The unique identifier of the procurement record to cancel","min_length":1}],"response_schema":"v202506.CancelProcurementResponse"},{"id":"procurement-create","command_path":["procurement","create"],"summary":"Create procurement","description":"Allows users to create a procurement record associated with a specific supplier.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/procurements","body":"*"},"body":{"required":true,"fields":[{"name":"procurement","type":"object","schema":"v202506.CreateProcurementParam","required":true,"description":"Procurement"}]},"response_schema":"v202506.CreateProcurementResponse"},{"id":"procurement-detail","command_path":["procurement","get"],"summary":"Get procurement","description":"Retrieves a list of procurement records with optional filters such as state, creation date, or update date.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/procurements/{procurement_id}"},"parameters":[{"name":"procurement_id","in":"path","type":"string","required":true,"description":"Provide procurement ID to filter by","min_length":1}],"response_schema":"v202506.GetProcurementResponse"},{"id":"procurements","command_path":["procurement","list"],"summary":"List procurements","description":"Retrieves a list of Procurement objects, representing the associations between products and Procurementions.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/procurements"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to return. Range: 1-100 (default is 10)","default":10,"minimum":1,"maximum":100},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"Array of procurement IDs to filter by. Example: ?ids=1001&ids=1002"},{"name":"state","in":"query","type":"integer","format":"int32","description":"Procurement state filter. Accepted values: 1 (waiting for stock), 2 (partial receipt), 3 (complete receipt), 4 (cancelled)"},{"name":"created_at_min","in":"query","type":"string","description":"Filter procurements created at or after this date (ISO-8601 format)"},{"name":"created_at_max","in":"query","type":"string","description":"Filter procurements created at or before this date (ISO-8601 format)"},{"name":"updated_at_min","in":"query","type":"string","description":"Filter procurements updated at or after this date (ISO-8601 format)"},{"name":"updated_at_max","in":"query","type":"string","description":"Filter procurements updated at or before this date (ISO-8601 format)"}],"response_schema":"v202506.ListProcurementResponse"},{"id":"procurement-items","command_path":["procurement","list-items"],"summary":"List procurement items","description":"Retrieves the items associated with a given procurement ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/procurements/{procurement_id}/items"},"parameters":[{"name":"procurement_id","in":"path","type":"string","required":true,"description":"Provide procurement ID to filter by"},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to return. Range: 1-100 (default is 10)","default":10,"minimum":1,"maximum":100},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"}],"response_schema":"v202506.ListProcurementItemResponse"},{"id":"procurement-receive","command_path":["procurement","receive"],"summary":"Receive procurement","description":"Processes the receipt of procurement items by updating their quantities (received and rejected) and recording any rejection reasons.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/procurements/{procurement_id}/receive","body":"*"},"parameters":[{"name":"procurement_id","in":"path","type":"string","required":true,"description":"The unique identifier of the procurement record","min_length":1}],"body":{"fields":[{"name":"items","type":"array","items":{"type":"object","schema":"v202506.ReceiveProcurementParam"},"description":"The array of items to update with received and rejected quantities"}]},"response_schema":"v202506.ReceiveProcurementResponse"},{"id":"procurement-update","command_path":["procurement","update"],"summary":"Update procurement","description":"Allows updating the details of an existing procurement record, such as its supplier, note, or other properties.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/procurements/{procurement_id}","body":"*"},"parameters":[{"name":"procurement_id","in":"path","type":"string","required":true,"description":"The unique identifier of the procurement record to update","min_length":1}],"body":{"fields":[{"name":"procurement","type":"object","schema":"v202506.UpdateProcurementParam","description":"Procurement"}]},"response_schema":"v202506.UpdateProcurementResponse"},{"id":"supplier-create","command_path":["suppliers","create"],"summary":"Create supplier","description":"Allows users to add a new supplier to the system.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/suppliers","body":"*"},"body":{"required":true,"fields":[{"name":"supplier","type":"object","schema":"v202506.CreateSupplierParam","required":true,"description":"Object containing supplier details"}]},"response_schema":"v202506.CreateSupplierResponse"},{"id":"supplier-detail","command_path":["suppliers","get"],"summary":"Get supplier","description":"Retrieves the detailed information of a specific supplier by its unique identifier (id).","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/suppliers/{id}"},"parameters":[{"name":"id","in":"path","type":"integer","format":"uint64","required":true,"description":"Supplier ID to query"}],"response_schema":"v202506.GetSupplierResponse"},{"id":"suppliers","command_path":["suppliers","list"],"summary":"List suppliers","description":"Allows users to retrieve a list of suppliers with optional filtering by specific supplier IDs.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/suppliers"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Maximum number of results per page. Acceptable range: 1 to 100. Default is 10","default":10,"minimum":1,"maximum":100},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"ids","in":"query","type":"array","items":{"type":"integer","format":"uint64"},"description":"A list of supplier IDs to filter results. Empty value retrieves all suppliers. Example: ?ids=1001&ids=1002"}],"response_schema":"v202506.ListSupplierResponse"},{"id":"supplier-update","command_path":["suppliers","update"],"summary":"Update supplier","description":"Updates the details of an existing supplier by its unique identifier (id).","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/suppliers/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"integer","format":"uint64","required":true,"description":"Supplier ID to update"}],"body":{"required":true,"fields":[{"name":"supplier","type":"object","schema":"v202506.UpdateSupplierParam","required":true,"description":"Object containing supplier details"}]},"response_schema":"v202506.UpdateSupplierResponse"},{"id":"product-update","command_path":["update"],"summary":"Update product","description":"Update an existing product with the provided details.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/products/{product_id}","body":"*"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"Product's ID"}],"body":{"fields":[{"name":"product","type":"object","schema":"v202506.UpdateProductParam","description":"Product"}]},"response_schema":"v202506.UpdateProductResponse"},{"id":"variant-count","command_path":["variants","count"],"summary":"Count variants","description":"Count the number of variants for a specific product.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products/{product_id}/variants/count"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The product ID to count variants for"}],"response_schema":"v202506.CountVariantResponse"},{"id":"variant-create","command_path":["variants","create"],"summary":"Create variant","description":"Create a new product variant with the specified details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/products/{product_id}/variants","body":"*"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The product ID of the variant"}],"body":{"required":true,"fields":[{"name":"variant","type":"object","schema":"v202506.CreateVariantParam","required":true,"description":"The variant details"}]},"response_schema":"v202506.CreateVariantResponse"},{"id":"variant-delete","command_path":["variants","delete"],"summary":"Delete variant","description":"Delete a product variant by its ID.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/products/{product_id}/variants/{variant_id}"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The product ID of the variant"},{"name":"variant_id","in":"path","type":"string","required":true,"description":"The variant ID to delete"}],"response_schema":"v202506.DeleteVariantResponse"},{"id":"variant-detail","command_path":["variants","get"],"summary":"Get variant","description":"Retrieve a product variant by its ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/variants/{variant_id}"},"parameters":[{"name":"variant_id","in":"path","type":"string","required":true,"description":"The variant ID"}],"response_schema":"v202506.GetVariantResponse"},{"id":"variants","command_path":["variants","list"],"summary":"List variants","description":"Retrieve a list of all variants for a specific product.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products/{product_id}/variants"},"parameters":[{"name":"product_id","in":"path","type":"string","required":true,"description":"The product ID to list variants for"}],"response_schema":"v202506.ListVariantResponse"},{"id":"variants-by-sku","command_path":["variants","list-by-sku"],"summary":"List variants by SKU","description":"Retrieve a list of all variants for a specific SKU.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/products/sku/{sku}/variants"},"parameters":[{"name":"sku","in":"path","type":"string","required":true,"description":"The variant SKU to list","min_length":1}],"response_schema":"v202506.ListVariantBySkuResponse"},{"id":"variant-update","command_path":["variants","update"],"summary":"Update variant","description":"Update an existing product variant with the provided details.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/variants/{variant_id}","body":"*"},"parameters":[{"name":"variant_id","in":"path","type":"string","required":true,"description":"The variant ID"}],"body":{"required":true,"fields":[{"name":"variant","type":"object","schema":"v202506.UpdateVariantParam","required":true,"description":"The variant details"}]},"response_schema":"v202506.UpdateVariantResponse"},{"id":"variant-update-by-sku","command_path":["variants","update-by-sku"],"summary":"Update variant by SKU","description":"Update a product variant by its SKU.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/variants/sku/{sku}","body":"*"},"parameters":[{"name":"sku","in":"path","type":"string","required":true,"description":"The variant SKU to update","min_length":1}],"body":{"required":true,"fields":[{"name":"refuse_multi_result","type":"boolean","required":true,"description":"the variant details to update \"false\": If SKU matches multiple sub-items, update the matched sub-items normally. \"true\": Rejects the update if the SKU matches more than one subitem"},{"name":"variant","type":"object","schema":"v202506.UpdateVariantParamBySKU","required":true,"description":"Product variant"}]},"response_schema":"v202506.UpdateVariantBySkuResponse"}]},{"name":"shop","groups":{"analytics":{"summary":"Query sales metrics, traffic statistics, and business analytics for the store","description":"Data analysis exposes aggregated store performance metrics across products, landing pages,\nand traffic sources. Merchants and apps use it to monitor sales trends and channel\neffectiveness.\nProvides endpoints to query overall metrics and breakdowns by SPU, SKU, landing page, UTM\nsource, on-site search keyword and traffic channel."},"articles":{"summary":"Manage articles published within a blog","description":"An article is a single post published under a blog in the merchant's online store, used to\nshare news, product stories, and other content with customers. Merchants and apps manage\narticle content, authors, and publication state through this API.\nProvides endpoints to list, create, retrieve, update, and delete articles, count articles,\nand list distinct article authors."},"blogs":{"summary":"Manage blogs published by the store","description":"A blog is a container for articles in the merchant's online store, used to organize content\ninto separate channels such as news, announcements, or product stories. Merchants and apps\nconfigure blogs to group related articles for customers to browse.\nProvides endpoints to list, create, retrieve, update, and delete blogs, as well as count\nblogs matching given criteria."},"carrier-services":{"summary":"Register and manage external carriers that quote real-time shipping rates","description":"A carrier service is an external shipping rate provider registered against the merchant's\nstore. At checkout the store calls the registered carrier endpoint to retrieve real-time\nshipping rates for the customer's cart, letting merchants offer dynamic shipping options\npowered by third-party logistics providers.\nProvides endpoints to create, list, retrieve, update, and delete carrier services."},"files":{"summary":"Upload and manage file assets stored in the merchant's media library","description":"Files are media and document assets uploaded to the merchant's store for use across\nproducts, pages, and content. Merchants and apps use the file library to manage shared\nstatic resources.\nProvides endpoints to create and query upload tasks, list files, and retrieve or delete a\nfile by URI."},"info":{"summary":"Query and update core store settings and shop profile","description":"A shop represents a merchant's store and holds the account, contact, locale, currency,\ndomain, and subscription settings that other resources reference.\nProvides endpoints to retrieve shop details and update shop attributes."},"languages":{"summary":"Manage a store's languages: add, enable, disable, publish to markets, and delete","description":"Store languages are the locales available in a merchant's store. Each language can be enabled\n(visible to storefront visitors) or disabled, and can be published to one or more markets.\nNewly added languages are disabled by default and must be enabled before they take effect.\nProvides endpoints to list languages with their market relations, add languages, enable or\ndisable them, publish them to markets, and delete them. Deleting only removes configuration;\nthe translation corpus is retained."},"markets":{"summary":"Manage a store's markets: their lifecycle, domain, pricing, tax, status, default language, and product assignment","description":"A market represents a set of countries a merchant sells to, with its own currency, pricing,\ndomain and language configuration. Each country belongs to exactly one market, and the primary\nmarket is protected: it cannot be deleted and, except for its tax-inclusive setting, cannot be\nmodified.\nProvides endpoints to list and retrieve markets, create and update them, change domain, price,\ntax and status settings, set the default language, delete a market, and manage which products\na market sells along with market-specific fixed prices."},"menu":{"summary":"Manage the store's menus (navigation)","description":"A menu is a navigation entry point on the storefront, such as the main menu or the footer\nmenu. Each menu holds a tree of menu items, and built-in menus are maintained by the platform.\nProvides endpoints to list menus, create a custom menu, update a menu's title and items, and\ndelete a custom menu."},"metafields-definition":{"summary":"Define and manage metafield schemas that extend resource objects with custom data","description":"Metafield definitions describe the schema of metafields attached to a given owner resource,\nincluding namespace, key, value type, and validation, so that merchants and apps can store\ncustom data in a consistent, typed way.\nProvides endpoints to create, update, get, list, delete metafield definitions, and to count\ndefinitions or their associated metafields by owner resource or group."},"metafields-resource":{"summary":"Read and write metafields attached to resource objects such as products, orders, and customers."},"metafields-shop":{"summary":"Read and write metafields attached to the shop itself."},"pages":{"summary":"Manage custom storefront pages such as About and Policy pages","description":"Custom pages are merchant-authored static pages on the storefront, such as About Us or\npolicy pages. Merchants and apps use them to publish standalone content outside the product\nand blog flows.\nProvides endpoints to list, create, retrieve, update, delete, count, search, and batch\noperate on pages."},"redirects":{"summary":"Manage URL redirect rules that map old paths to new destinations","description":"A URL redirect maps an original storefront path to a new destination so that merchants can\npreserve traffic when URLs change.\nProvides endpoints to list, create, retrieve, update, delete, and search URL redirects."}},"commands":[{"id":"data-analysis-land-page","command_path":["analytics","by-land-page"],"summary":"Get data analysis land page","description":"Retrieve landing page analytics including page views, unique visitors, add-to-cart rate, checkout funnel, orders, sales, bounce rate, and average session duration, grouped by landing page URL.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/data-analysis/land-page","body":"*"},"body":{"required":true,"fields":[{"name":"begin_time","type":"string","required":true,"description":"Start time, a Unix timestamp in seconds passed as a string, e.g. \"1748736000\"","min_length":1},{"name":"end_time","type":"string","required":true,"description":"End time, a Unix timestamp in seconds passed as a string, e.g. \"1781481600\". Should be greater than begin_time","min_length":1},{"name":"cursor","type":"string","description":"Cursor for pagination"},{"name":"page_size","type":"integer","format":"int32","description":"Page size for pagination","default":10,"minimum":1,"maximum":500},{"name":"page","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"sort_by","type":"string","description":"Field to sort by. Supported values: - `pv`: Page views - `uv`: Unique visitors - `add_cart_uv`: Unique visitors who added to cart - `begin_checkout_uv`: Unique visitors who began checkout - `add_payment_info_uv`: Unique visitors who added payment info - `orders`: Number of orders - `sales`: Total sales amount - `conversion_rate`: Conversion rate - `escape_rate`: Bounce rate - `avg_elapse`: Average time spent on page - `product_uv`: Unique visitors who viewed a product detail page - `order_customers`: Number of customers who placed an order"},{"name":"time_zone","type":"integer","format":"int32","description":"Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14"},{"name":"sort_direction","type":"string","description":"Sort order: asc (ascending), desc (descending)"},{"name":"dimensions","type":"array","items":{"type":"string"},"required":true,"description":"Dimensions to retrieve. Supported values: - `land_url_path`: Landing page URL path - `last_template_name`: Page type - `last_referrer_show`: Last interactive source - `last_referrer_first_show`: Traffic type","min_length":1},{"name":"filters","type":"string","description":"Advanced filter conditions as a JSON string, expressed as a nested filter tree: - Array node `[ ... ]`: its children are combined with OR - Object node `{ ... }`: its entries are combined with AND - Leaf node: {\"operator\": \"...\", \"value\": ...} attached under a filter key The `value` type to send depends on the operator (operators are case-insensitive): - `in`, `not in`             -> value is an ARRAY, e.g. [\"a\", \"b\"]. A scalar will NOT match, so always send an array for these operators. - `like`, `not like`         -> value is a STRING, e.g. \"google\" - `=`, `>`, `>=`, `<`, `<=`  -> value is a SCALAR (string or number), e.g. 10 value is auto-converted to the target field type. Common keys: `land_url_path`, `last_template_name` (page type), `last_referrer_show` (traffic channel), `last_referrer_first_show` (traffic type). Unknown keys or unsupported operators are silently ignored, so a filter \"not taking effect\" usually means a mistyped key/operator. e.g. AND: {\"land_url_path\": {\"operator\": \"like\", \"value\": \"/\"}} OR : [{\"last_referrer_show\": {\"operator\": \"like\", \"value\": \"google\"}}, {\"last_referrer_show\": {\"operator\": \"like\", \"value\": \"facebook\"}}]"},{"name":"filter_crawler_type","type":"string","description":"Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values: - `no_filter_crawler`: do not filter; count all traffic (default) - `official_crawler`: exclude known crawlers/bots"}]},"response_schema":"v202506.GetDataAnalysisLandPageResponse"},{"id":"data-analysis-by-sku","command_path":["analytics","by-sku"],"summary":"Get data analysis by SKU","description":"Provides merchants with detailed insights into sales data, enabling data-driven decision-making by analyzing products by SKU.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/data-analysis/sku","body":"*"},"body":{"required":true,"fields":[{"name":"begin_time","type":"string","required":true,"description":"Start time, a Unix timestamp in seconds passed as a string, e.g. \"1748736000\"","min_length":1},{"name":"end_time","type":"string","required":true,"description":"End time, a Unix timestamp in seconds passed as a string, e.g. \"1781481600\". Should be greater than begin_time","min_length":1},{"name":"cursor","type":"string","description":"Cursor for pagination"},{"name":"page_size","type":"integer","format":"int32","description":"Page size for pagination","default":10,"minimum":1,"maximum":500},{"name":"page","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"sort_by","type":"string","description":"Field to sort by. Supported values: - `variant_op_updated_at`: Last updated time of the variant - `views_count`: Number of page views - `add_to_cart_count`: Number of add-to-cart actions - `order_count`: Number of orders - `sales_total`: Total sales amount - `net_sales_total`: Net sales amount - `add_to_cart_rate`: Add-to-cart rate - `add_to_cart_conversion_rate`: Add-to-cart conversion rate - `sales_count`: Number of items sold - `views_rate`: Page view rate"},{"name":"time_zone","type":"integer","format":"int32","description":"Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14"},{"name":"sort_direction","type":"string","description":"Sort order: asc (ascending), desc (descending)"},{"name":"collection_id","type":"string","description":"Filter by collection ID"},{"name":"sales_platform","type":"string","description":"Sales channel filter. Supported values: - `shopping_action`: Google Shopping Action - `shoplazza`: Online store - `mocart`: Mocart"},{"name":"keyword","type":"string","description":"Keyword fuzzy search: title, ID, brief, SKU, SPU, tags, note"},{"name":"search_model","type":"string","description":"Filtering mode: base (default) or advanced. When set to advanced, the additional filter fields below take effect"},{"name":"collection_name","type":"string","description":"Filter by collection name"},{"name":"title","type":"string","description":"Filter by product title"},{"name":"tag_list","type":"string","description":"Filter by product tags"},{"name":"category","type":"string","description":"Filter by product category"},{"name":"sub_category","type":"boolean","description":"Whether to include all sub-category levels in the search"},{"name":"cost_price_min","type":"string","description":"Minimum cost price, e.g. \"1.99\""},{"name":"cost_price_max","type":"string","description":"Maximum cost price, e.g. \"8.99\""},{"name":"product_note","type":"string","description":"Filter by product note / remark"},{"name":"vendor","type":"string","description":"Filter by vendor / supplier name"},{"name":"created_at_min_at","type":"string","description":"Filter products created at or after this time, e.g. \"2026-04-01 00:00:00\""},{"name":"created_at_max_at","type":"string","description":"Filter products created at or before this time, e.g. \"2026-04-04 00:00:00\""},{"name":"filter_crawler_type","type":"string","description":"Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values: - `no_filter_crawler`: do not filter; count all traffic (default) - `official_crawler`: exclude known crawlers/bots"}]},"response_schema":"v202506.GetDataAnalysisSKUResponse"},{"id":"data-analysis-by-spu","command_path":["analytics","by-spu"],"summary":"Get data analysis by SPU","description":"Provides merchants with detailed insights into sales data, enabling data-driven decision-making by analyzing products by SPU.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/data-analysis/spu","body":"*"},"body":{"required":true,"fields":[{"name":"type","type":"string","required":true,"description":"Type of resource to analyze. Supported values: `product`, `variant`, `collection`"},{"name":"begin_time","type":"string","required":true,"description":"Start time for retrieving analysis data: a Unix timestamp in seconds, passed as a string (e.g. \"1748736000\"). Must be less than end_time; typically the start of the day (00:00) in the relevant timezone","min_length":1},{"name":"end_time","type":"string","required":true,"description":"End time for retrieving analysis data: a Unix timestamp in seconds, passed as a string (e.g. \"1781481600\"). Must be greater than begin_time; typically the start of the following day (00:00) in the relevant timezone","min_length":1},{"name":"cursor","type":"string","description":"Cursor for pagination"},{"name":"page_size","type":"integer","format":"int32","description":"Page size","default":10,"minimum":1,"maximum":500},{"name":"page","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"time_zone","type":"integer","format":"int32","description":"Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14"},{"name":"sort_by","type":"string","description":"Field to sort by. Supported values: - `created_at`: Product creation time - `first_published_at`: First publish time - `published_at`: Latest publish time - `product_op_updated_at`: Last product operation update time - `order_count`: Number of orders - `sales_count`: Number of items sold - `sales_total`: Total sales amount - `net_sales_total`: Net sales amount - `discount`: Discount amount - `tax`: Tax amount - `views_count`: Page view count - `add_to_cart_count`: Add-to-cart count - `add_to_cart_rate`: Add-to-cart rate - `view_client_count`: Unique viewer count - `add_cart_client_count`: Unique add-to-cart user count - `add_to_cart_conversion_rate`: Add-to-cart conversion rate - `transform_rate`: Overall conversion rate"},{"name":"sort_direction","type":"string","description":"Sorting direction: asc (ascending) or desc (descending)"},{"name":"collection_id","type":"string","description":"Filter by collection ID. When the collection ID is passed, results are filtered by that collection"},{"name":"keyword","type":"string","description":"When the keyword is not empty, products are filtered. Keywords will fuzzy match these product fields: title, ID, brief, SKU, SPU, tags, note"},{"name":"search_model","type":"string","description":"Filtering mode: base (default) or advanced. When set to advanced, the `filter` field takes effect"},{"name":"filter","type":"string","description":"Advanced filter conditions as a JSON string. Only takes effect when `search_model` is \"advanced\". Structure: a flat JSON object that maps each filter key to a leaf `{\"operator\": \"...\", \"value\": ...}`; multiple keys are combined with AND (this endpoint does not support OR groups). The `value` type to send depends on the operator (operators are case-insensitive): - `in` / `not in` -> value is an ARRAY of strings, e.g. `[\"SPU001\", \"SPU002\"]` - `like` / `not like` -> value is a STRING, e.g. `\"shirt\"` - `=` `>` `>=` `<` `<=` -> value is a SCALAR (string or number), e.g. `10` Key -> expected value: - list keys `spu` `sku` `product_id` `title` `tag_list` -> array - range keys `price_min`/`price_max`, `cost_price_min`/`cost_price_max`, `compare_at_price_min`/`compare_at_price_max`, `created_at_min`/`created_at_max`, `updated_at_min`/`updated_at_max` -> scalar - boolean keys `published` `sub_category` -> `\"true\"` / `\"false\"` - other keys `collection_id` `keyword` `vendor` `category` `product_note` `sales_platform` -> string Unknown keys are silently ignored (the request still returns 200), so a filter \"not taking effect\" usually means a mistyped key. e.g. `{\"spu\": {\"operator\": \"in\", \"value\": [\"SPU001\", \"SPU002\"]}}`"},{"name":"with_impression","type":"boolean","description":"Whether to include impression data in the response"},{"name":"filter_crawler_type","type":"string","description":"Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values: - `no_filter_crawler`: do not filter; count all traffic (default) - `official_crawler`: exclude known crawlers/bots"},{"name":"sub_type","type":"string","description":"Grouping granularity, only effective when `type` is \"collection\". Values: - `collection` (default): group by collection; `product_id` is empty - `collection_product`: group by collection x product - `product`: group by product"}]},"response_schema":"v202506.GetDataAnalysisBySPUResponse"},{"id":"data-analysis-utm","command_path":["analytics","by-utm"],"summary":"Get data analysis UTM","description":"Retrieve traffic source analytics grouped by UTM parameters (source, medium, campaign, term, content), with trend data over time.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/data-analysis/utm","body":"*"},"body":{"required":true,"fields":[{"name":"begin_time","type":"string","required":true,"description":"Start time, a Unix timestamp in seconds passed as a string, e.g. \"1748736000\"","min_length":1},{"name":"end_time","type":"string","required":true,"description":"End time, a Unix timestamp in seconds passed as a string, e.g. \"1781481600\". Should be greater than begin_time","min_length":1},{"name":"time_zone","type":"integer","format":"int32","description":"Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14"},{"name":"cursor","type":"string","description":"Cursor for pagination"},{"name":"page_size","type":"integer","format":"int32","description":"Page size for pagination","default":10,"minimum":1,"maximum":500},{"name":"page","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"sort_by","type":"string","description":"Field to sort by. Supported values: - `view_client_count`: Number of unique visitors - `uv_rate`: Unique visitor rate - `product_views_count`: Number of product page views - `add_to_cart_count`: Number of add-to-cart actions - `begin_checkout_count`: Number of checkout initiations - `orders_count`: Number of orders - `orders_count_rate`: Order count rate - `transform_rate`: Overall conversion rate - `product_sales`: Product sales amount - `product_sales_rate`: Product sales rate - `per_customer_sales`: Average sales per customer - `avg_elapse`: Average session duration - `avg_depth`: Average page depth per session - `place_order_client_count`: Number of customers who placed orders - `first_order_customers`: Number of first-time order customers - `first_order_customers_rate`: First-time order customer rate - `date`: Date - `escape_rate`: Bounce rate"},{"name":"sort_direction","type":"string","description":"Sorting direction: asc (ascending) or desc (descending)"},{"name":"date_by","type":"string","description":"Time granularity: empty string for totals, \"day\" for daily breakdown"},{"name":"filters","type":"array","items":{"type":"object","schema":"v202506.UTMFilter"},"description":"Optional list of structured filters to narrow results by UTM dimension values Entries in the list are combined with AND. e.g. [{\"title\": \"utm_medium\", \"prerequisite\": \"includes\", \"values\": [\"123\"]}]"},{"name":"filter_crawler_type","type":"string","description":"Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values: - `no_filter_crawler`: do not filter; count all traffic (default) - `official_crawler`: exclude known crawlers/bots"}]},"response_schema":"v202506.GetDataAnalysisUTMResponse"},{"id":"data-analysis-detail","command_path":["analytics","overview"],"summary":"Get data analysis","description":"Retrieve analytical data for the specified time range and dimensions.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/data-analysis","body":"*"},"body":{"required":true,"fields":[{"name":"begin_time","type":"string","required":true,"description":"Start time, a Unix timestamp in seconds passed as a string, e.g. \"1748736000\"","min_length":1},{"name":"end_time","type":"string","required":true,"description":"End time, a Unix timestamp in seconds passed as a string, e.g. \"1781481600\". Should be greater than begin_time","min_length":1},{"name":"indicator","type":"array","items":{"type":"string"},"required":true,"description":"Metrics to query. Categorized into two groups based on the requested dimensions: Custom indicators (valid with custom dimensions): - `pv`: Page views - `uv`: Unique visitors - `add_cart_uv`: Unique visitors who added to cart - `add_cart_qty`: Add-to-cart quantity - `add_payment_info_uv`: Unique visitors who submitted payment info - `begin_checkout_pv`: Begin-checkout page views - `begin_checkout_uv`: Begin-checkout unique visitors - `orders`: Number of orders - `sales`: Total sales amount - `conversion_rate`: Conversion rate - `impression`: Impression count UTM indicators (valid with UTM dimensions): - `pv`: Page views - `uv`: Unique visitors - `add_cart_uv`: Unique visitors who added to cart - `begin_checkout_pv`: Begin-checkout page views - `begin_checkout_uv`: Begin-checkout unique visitors - `orders`: Number of orders - `sales`: Total sales amount","min_length":1},{"name":"cursor","type":"string","description":"Cursor for pagination"},{"name":"page_size","type":"integer","format":"int32","description":"Page size","default":10,"minimum":1,"maximum":200},{"name":"page","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"time_zone","type":"integer","format":"int32","description":"Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14"},{"name":"sort_by","type":"string","description":"Sort by field"},{"name":"sort_direction","type":"string","description":"Sorting direction: asc (ascending) or desc (descending)"},{"name":"dt_by","type":"string","description":"Time granularity for aggregation: `dt_by_hour` (hourly), `dt_by_day` (daily)"},{"name":"dimension","type":"array","items":{"type":"string"},"description":"Notice: Mixing custom dimensions (e.g., country_code) with UTM-based dimensions will cause validation failure. Dimensions for the query. Categorized into two groups: Custom dimensions: - `country_code`: Country code UTM dimensions: - `utm_source`: UTM source - `utm_medium`: UTM medium - `utm_term`: UTM term - `utm_campaign`: UTM campaign - `utm_content`: UTM content"},{"name":"filters","type":"object","items":{"type":"string"},"description":"Simple equality filters, keyed by dimension name with the exact value to match, e.g. {\"country_code\": \"US\"}. Each entry is an exact-match condition and multiple entries are combined with AND. Only keys within the supported `dimension` set take effect; unknown keys are ignored."},{"name":"filter_crawler_type","type":"string","description":"Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values: - `no_filter_crawler`: do not filter; count all traffic (default) - `official_crawler`: exclude known crawlers/bots"}]},"response_schema":"v202506.GetDataAnalysisResponse"},{"id":"data-analysis-search-keyword","command_path":["analytics","search-keyword"],"summary":"Get data analysis by search keyword","description":"Retrieve on-site search analytics grouped by search keyword, including the number of searches, the number of searching users, whether the search returned results, and the click-through rate.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/data-analysis/search-keyword","body":"*"},"body":{"required":true,"fields":[{"name":"begin_time","type":"string","required":true,"description":"Start time, a Unix timestamp in seconds passed as a string, e.g. \"1748736000\"","min_length":1},{"name":"end_time","type":"string","required":true,"description":"End time, a Unix timestamp in seconds passed as a string, e.g. \"1781481600\". Should be greater than begin_time","min_length":1},{"name":"time_zone","type":"integer","format":"int32","description":"Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14"},{"name":"cursor","type":"string","description":"Cursor for pagination"},{"name":"page_size","type":"integer","format":"int32","description":"Page size for pagination","default":10,"minimum":1,"maximum":600},{"name":"keyword","type":"string","description":"Fuzzy match on the search keyword","max_length":500},{"name":"sort_by","type":"string","description":"Field to sort by. Supported values: - `count`: Number of searches - `percent`: Share of all searches - `uv`: Number of searching users - `has_result`: Whether the search returned results - `click_rate`: Search click-through rate"},{"name":"sort_direction","type":"string","description":"Sorting direction: asc (ascending) or desc (descending). Defaults to desc"},{"name":"has_result","type":"string","description":"Filter by whether the search returned results: `1` with results, `0` without results. Defaults to no filtering"},{"name":"country_code","type":"string","description":"Filter by the visitor's country/region code, e.g. \"US\""},{"name":"filter_crawler_type","type":"string","description":"Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values: - `no_filter_crawler`: do not filter; count all traffic (default) - `official_crawler`: exclude known crawlers/bots"}]},"response_schema":"v202601.GetDataAnalysisSearchKeywordResponse"},{"id":"data-analysis-traffic-channel","command_path":["analytics","traffic-channel"],"summary":"Get data analysis by traffic channel","description":"Retrieve traffic channel analytics grouped by traffic type and traffic channel, including visiting users, sales, orders and each of their shares of the grand total.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/data-analysis/traffic-channel","body":"*"},"body":{"required":true,"fields":[{"name":"begin_time","type":"string","required":true,"description":"Start time, a Unix timestamp in seconds passed as a string, e.g. \"1748736000\"","min_length":1},{"name":"end_time","type":"string","required":true,"description":"End time, a Unix timestamp in seconds passed as a string, e.g. \"1781481600\". Should be greater than begin_time","min_length":1},{"name":"dimensions","type":"array","items":{"type":"string"},"required":true,"description":"Dimensions to group by. Supported values: - `last_referrer_first_show`: Traffic type (first-level channel) - `last_referrer_show`: Traffic channel (second-level channel)","min_length":1},{"name":"metrics","type":"array","items":{"type":"string"},"required":true,"description":"Metrics to query. Supported values: - `uv`: Number of visiting users - `sales`: Sales amount - `orders`: Number of orders - `uv_rate`: Share of visiting users against the grand total - `sales_rate`: Share of sales against the grand total - `orders_rate`: Share of orders against the grand total","min_length":1},{"name":"time_zone","type":"integer","format":"int32","description":"Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations. Time zone offset (in hours) used for analysis. Recommended range: -12 to 14"},{"name":"cursor","type":"string","description":"Cursor for pagination"},{"name":"page_size","type":"integer","format":"int32","description":"Page size for pagination","default":10,"minimum":1,"maximum":500},{"name":"sort_by","type":"string","description":"Field to sort by. Must be one of the requested `metrics`; `uv_rate`, `sales_rate` and `orders_rate` sort by their underlying raw values"},{"name":"sort_direction","type":"string","description":"Sorting direction: asc (ascending) or desc (descending)"},{"name":"has_summary","type":"boolean","description":"Whether to return the `summary` grand-total row"},{"name":"filters","type":"string","description":"Dimension filter conditions as a JSON string, keyed by dimension name: `{\"<dimension>\": {\"operator\": \"<operator>\", \"value\": <value>}}` The `value` type to send depends on the operator (operators are case-insensitive): - `in`, `not in`             -> value is an ARRAY, e.g. [\"Social\"]. A scalar will NOT match, so always send an array for these operators. - `like`, `not like`         -> value is a STRING, e.g. \"google\" - `=`, `>`, `>=`, `<`, `<=`  -> value is a SCALAR (string or number) Supported keys are the two dimensions: `last_referrer_first_show` and `last_referrer_show`; entries are combined with AND. Unknown keys or unsupported operators are silently ignored, so a filter \"not taking effect\" usually means a mistyped key/operator. e.g. {\"last_referrer_first_show\": {\"operator\": \"in\", \"value\": [\"Social\"]}, \"last_referrer_show\": {\"operator\": \"in\", \"value\": [\"Facebook\", \"TikTok\"]}}"},{"name":"filter_crawler_type","type":"string","description":"Crawler-filtering policy that controls whether bot/crawler traffic is excluded from the statistics. Values: - `no_filter_crawler`: do not filter; count all traffic (default) - `official_crawler`: exclude known crawlers/bots"}]},"response_schema":"v202601.GetDataAnalysisTrafficChannelResponse"},{"id":"data-analysis-traffic-channel-options","command_path":["analytics","traffic-channel-options"],"summary":"Get traffic channel options","description":"Retrieve the complete traffic type (first-level) to traffic channel (second-level) mapping.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/data-analysis/traffic-channel/options"},"response_schema":"v202601.GetDataAnalysisTrafficChannelOptionsResponse"},{"id":"article-authors","command_path":["articles","author"],"summary":"List authors","description":"Return the list of distinct article authors.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/articles/authors"},"response_schema":"v202506.GetAuthorListResponse"},{"id":"article-count","command_path":["articles","count"],"summary":"Get article count","description":"Return the total number of articles matching the given criteria.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/articles/count"},"response_schema":"v202506.GetArticleCountResponse"},{"id":"article-create","command_path":["articles","create"],"summary":"Create article","description":"Create a new article with the provided details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/articles","body":"*"},"body":{"required":true,"fields":[{"name":"article","type":"object","schema":"v202506.CreateArticleParam","required":true,"description":"Article data to be created"}]},"response_schema":"v202506.CreateArticleResponse"},{"id":"article-delete","command_path":["articles","delete"],"summary":"Delete article","description":"Delete an article by its ID.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/articles/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Article ID"}],"response_schema":"v202506.DeleteArticleResponse"},{"id":"article-detail","command_path":["articles","get"],"summary":"Get article","description":"Look up an article by its ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/articles/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Article ID"}],"response_schema":"v202506.GetArticleResponse"},{"id":"articles","command_path":["articles","list"],"summary":"List articles","description":"Retrieve a list of articles with optional filtering.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/articles"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Page size, default 10","default":10},{"name":"author","in":"query","type":"string","description":"Optional filter for author name"},{"name":"keyword","in":"query","type":"string","description":"Optional keyword to fuzzy-match article title/content"},{"name":"published","in":"query","type":"boolean","description":"Optional published-status filter: true = published only, false = drafts only, omit = all"},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"}],"response_schema":"v202601.ListArticleResponse"},{"id":"article-update","command_path":["articles","update"],"summary":"Update article","description":"Update an existing article by its ID.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/articles/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Article ID"}],"body":{"required":true,"fields":[{"name":"article","type":"object","schema":"v202506.UpdateArticleParam","required":true,"description":"Article data to be updated"}]},"response_schema":"v202506.UpdateArticleResponse"},{"id":"blog-count","command_path":["blogs","count"],"summary":"Get blog count","description":"Retrieve the total number of blogs.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/blogs/count"},"response_schema":"v202506.GetBlogCountResponse"},{"id":"blog-create","command_path":["blogs","create"],"summary":"Create blog","description":"Create a new blog with the provided details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/blogs","body":"*"},"body":{"required":true,"fields":[{"name":"blog","type":"object","schema":"v202506.CreateBlogParam","required":true,"description":"Blog"}]},"response_schema":"v202506.CreateBlogResponse"},{"id":"blog-delete","command_path":["blogs","delete"],"summary":"Delete blog","description":"Delete a specific blog using its unique identifier.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/blogs/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Blog ID"}],"response_schema":"v202506.DeleteBlogResponse"},{"id":"blog-detail","command_path":["blogs","get"],"summary":"Get blog","description":"Retrieve details of a specific blog using its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/blogs/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Blog ID"}],"response_schema":"v202506.GetBlogResponse"},{"id":"blogs","command_path":["blogs","list"],"summary":"List blogs","description":"Retrieve a list of all blogs with pagination.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/blogs"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Page size, default 10","default":10},{"name":"keyword","in":"query","type":"string","description":"Optional keyword to fuzzy-match blog title"},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"}],"response_schema":"v202601.ListBlogResponse"},{"id":"blog-update","command_path":["blogs","update"],"summary":"Update blog","description":"Update the details of an existing blog using its unique identifier.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/blogs/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Blog ID"}],"body":{"required":true,"fields":[{"name":"blog","type":"object","schema":"v202506.UpdateBlogParam","required":true,"description":"Blog data to be updated"}]},"response_schema":"v202506.UpdateBlogResponse"},{"id":"carrier-service-create","command_path":["carrier-services","create"],"summary":"Create carrier service","description":"Enables users to create a new carrier service for calculating shipping rates.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/carrier_services","body":"*"},"body":{"required":true,"fields":[{"name":"carrier_service","type":"object","schema":"v202506.CreateCarrierServiceParam","required":true,"description":"Carrier service data to create"}]},"response_schema":"v202506.CreateCarrierServiceResponse"},{"id":"carrier-service-delete","command_path":["carrier-services","delete"],"summary":"Delete carrier service","description":"Allows users to remove an existing carrier service.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/carrier_services/{carrier_service_id}"},"parameters":[{"name":"carrier_service_id","in":"path","type":"string","required":true,"description":"Carrier service ID to delete","min_length":1}],"response_schema":"v202506.DeleteCarrierServiceResponse"},{"id":"carrier-service-detail","command_path":["carrier-services","get"],"summary":"Get carrier service","description":"Allows users to retrieve detailed information about a specific carrier service by its unique ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/carrier_services/{carrier_service_id}"},"parameters":[{"name":"carrier_service_id","in":"path","type":"string","required":true,"description":"Carrier service ID to query","min_length":1}],"response_schema":"v202506.GetCarrierServiceResponse"},{"id":"carrier-services","command_path":["carrier-services","list"],"summary":"List carrier services","description":"Retrieves a list of all carrier services available for a store.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/carrier_services"},"response_schema":"v202506.ListCarrierServiceResponse"},{"id":"carrier-service-update","command_path":["carrier-services","update"],"summary":"Update carrier service","description":"Allows users to update the details of an existing carrier service.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/carrier_services/{carrier_service_id}","body":"*"},"parameters":[{"name":"carrier_service_id","in":"path","type":"string","required":true,"description":"Carrier service ID to update","min_length":1}],"body":{"required":true,"fields":[{"name":"carrier_service","type":"object","schema":"v202506.UpdateCarrierServiceParam","required":true,"description":"Carrier service data to update"}]},"response_schema":"v202506.UpdateCarrierServiceResponse"},{"id":"file-delete","command_path":["files","delete"],"summary":"Delete file","description":"Delete a file by URI.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/file/{file_uri}"},"parameters":[{"name":"file_uri","in":"path","type":"string","required":true,"description":"The unique identifier of the file to be deleted"}],"response_schema":"v202506.DeleteFileResponse"},{"id":"file-detail","command_path":["files","get"],"summary":"Get file","description":"Get details of a specific file.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/file/detail/{file_uri}"},"parameters":[{"name":"file_uri","in":"path","type":"string","required":true,"description":"The unique identifier of the file"}],"response_schema":"v202506.GetFileResponse"},{"id":"files","command_path":["files","list"],"summary":"List files","description":"List files in the media library.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/file"},"parameters":[{"name":"folder","in":"query","type":"string","description":"The folder name to fetch files from. Defaults to \"all_upload\". Allowed values: -product - all_upload","default":"all_upload"},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"The number of files to retrieve per page. Defaults to 20 if not specified. Must be greater than 0 and less than or equal to 300","default":20,"maximum":300},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"}],"response_schema":"v202506.GetFileListResponse"},{"id":"file-upload-task","command_path":["files","task"],"summary":"Get upload file task","description":"Get the status and result of an upload task.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/file/task/{task_id}"},"parameters":[{"name":"task_id","in":"path","type":"string","required":true,"description":"The unique identifier of the upload task","min_length":1}],"response_schema":"v202506.GetUploadFileTaskResponse"},{"id":"file-create","command_path":["files","upload"],"summary":"Create upload file","description":"Create an upload task for one or more files.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/file","body":"*"},"body":{"required":true,"fields":[{"name":"original_source_list","type":"array","items":{"type":"string"},"required":true,"description":"A list of original file URLs to be uploaded. Each URL must be a valid link pointing to a file to process.Original source list, picture link, for example: [\"https://picx.zhimg.com/v2-3b4fc7e3a1195a081d0259246c38debc_720w.jpg?source=172ae18b\"]","min_length":1}]},"response_schema":"v202506.CreateUploadFileTaskResponse"},{"id":"shop-detail","command_path":["info","get"],"summary":"Get shop","description":"Get the current shop details.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/shop"},"parameters":[{"name":"fields","in":"query","type":"array","items":{"type":"string"},"description":"Specifies which fields to include in the response. Example: ?fields=id&fields=name"}],"response_schema":"v202506.GetShopResponse"},{"id":"shop-update","command_path":["info","update"],"summary":"Update shop details","description":"Update editable shop attributes.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/shop/{shop_id}","body":"*"},"parameters":[{"name":"shop_id","in":"path","type":"string","required":true,"description":"Specifies which shop is to be updated"}],"body":{"required":true,"fields":[{"name":"shop","type":"object","schema":"v202506.UpdateShopParam","required":true,"description":"Shop"}]},"response_schema":"v202506.UpdateShopResponse"},{"id":"language-add","command_path":["languages","add"],"summary":"Add store languages","description":"Add one or more store languages. Newly added languages are disabled by default.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/languages","body":"*"},"body":{"required":true,"fields":[{"name":"codes","type":"array","items":{"type":"string"},"required":true,"description":"IETF language codes to add (e.g., [\"zh-CN\", \"ja-JP\"]). Each code must be one of the system supported languages; unsupported codes are silently dropped","min_length":1}]},"response_schema":"v202601.AddLanguagesResponse"},{"id":"language-delete","command_path":["languages","delete"],"summary":"Delete store language","description":"Delete a store language. The language must be disabled first; only its configuration is removed and the translation corpus is retained.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/languages/{language_code}"},"parameters":[{"name":"language_code","in":"path","type":"string","required":true,"description":"IETF language code","min_length":1}],"response_schema":"v202601.DeleteLanguageResponse"},{"id":"language-disable","command_path":["languages","disable"],"summary":"Disable store language","description":"Disable a store language so it is hidden from visitors; configuration and translations are kept. A store must keep at least one enabled language; a primary market's default language and a market's last enabled language cannot be disabled.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/languages/{language_code}/disable","body":"*"},"parameters":[{"name":"language_code","in":"path","type":"string","required":true,"description":"IETF language code","min_length":1}],"response_schema":"v202601.DisableLanguageResponse"},{"id":"language-enable","command_path":["languages","enable"],"summary":"Enable store language","description":"Enable a store language so it is visible to storefront visitors.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/languages/{language_code}/enable","body":"*"},"parameters":[{"name":"language_code","in":"path","type":"string","required":true,"description":"IETF language code","min_length":1}],"response_schema":"v202601.EnableLanguageResponse"},{"id":"languages","command_path":["languages","list"],"summary":"List store languages","description":"Retrieve store languages together with their market relations.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/languages"},"response_schema":"v202601.ListLanguagesResponse"},{"id":"language-markets","command_path":["languages","markets"],"summary":"List configurable markets","description":"List the markets a language can be configured (published) to. Use this before publishing a language to markets.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/languages/markets"},"response_schema":"v202601.ListLanguageMarketsResponse"},{"id":"language-publish","command_path":["languages","publish"],"summary":"Publish language to markets","description":"Configure a language to one or more markets. Full replacement of market relations; an empty list removes all relations. A disabled language can be configured but does not take effect until enabled.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/languages/{language_code}/publish","body":"*"},"parameters":[{"name":"language_code","in":"path","type":"string","required":true,"description":"IETF language code","min_length":1}],"body":{"fields":[{"name":"market_ids","type":"array","items":{"type":"string"},"description":"Market IDs this language is configured to. Full replacement, NOT incremental. An empty array removes all market relations of this language"}]},"response_schema":"v202601.PublishLanguageToMarketsResponse"},{"id":"supported-languages","command_path":["languages","supported"],"summary":"List supported languages","description":"List the languages the system supports. Use this to validate language codes before adding them; codes not in this list are silently dropped on add.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/languages/supported"},"response_schema":"v202601.ListSupportedLanguagesResponse"},{"id":"market-products-add","command_path":["markets","add-product"],"summary":"Add market products","description":"Add products to a market so the market sells them.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/markets/{id}/products","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"body":{"required":true,"fields":[{"name":"product_ids","type":"array","items":{"type":"string"},"required":true,"description":"Product IDs to add to this market","min_length":1}]},"response_schema":"v202601.AddMarketProductsResponse"},{"id":"market-create","command_path":["markets","create"],"summary":"Create market","description":"Create a market with a name and covered countries.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/markets","body":"*"},"body":{"required":true,"fields":[{"name":"name","type":"string","required":true,"description":"Market name. Maximum 50 characters. Must be unique within the store","min_length":1,"max_length":50},{"name":"countries","type":"array","items":{"type":"string"},"required":true,"description":"Covered countries, ISO 3166-1 alpha-2 codes in upper case (e.g., US, JP). A country may belong to only one market","min_length":1},{"name":"confirm","type":"boolean","description":"Confirmation flag. When false (default) and any country is already occupied by other markets, the request is rejected and the markets that would be deleted are returned. Resubmit with true to proceed; those occupied markets will be automatically deleted"}]},"response_schema":"v202601.CreateMarketResponse"},{"id":"market-delete","command_path":["markets","delete"],"summary":"Delete market","description":"Permanently delete a market. The primary market cannot be deleted; deletion is irreversible.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/markets/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID. The primary market cannot be deleted. Deletion is irreversible","min_length":1}],"response_schema":"v202601.DeleteMarketResponse"},{"id":"market-products-delete","command_path":["markets","delete-product"],"summary":"Delete market products","description":"Remove products from a market so the market stops selling them.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/markets/{id}/products","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"body":{"required":true,"fields":[{"name":"product_ids","type":"array","items":{"type":"string"},"required":true,"description":"Product IDs to remove from this market","min_length":1}]},"response_schema":"v202601.DeleteMarketProductsResponse"},{"id":"market-detail","command_path":["markets","get"],"summary":"Get market","description":"Retrieve full detail of a single market, including domain, pricing, tax, language and status.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/markets/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"response_schema":"v202601.GetMarketResponse"},{"id":"markets","command_path":["markets","list"],"summary":"List markets","description":"Retrieve all markets of the store with their configuration.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/markets"},"parameters":[{"name":"only_active","in":"query","type":"boolean","description":"Whether to return only active markets. Defaults to false"},{"name":"with_countries_detail","in":"query","type":"boolean","description":"Whether to include per-country currency detail. Defaults to false"}],"response_schema":"v202601.ListMarketsResponse"},{"id":"market-languages","command_path":["markets","list-language"],"summary":"List market languages","description":"List the languages configured on a market, including each language's enabled and default status. Use this before setting the market's default language.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/markets/{id}/languages"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"response_schema":"v202601.ListMarketLanguagesResponse"},{"id":"market-products","command_path":["markets","list-product"],"summary":"List market products","description":"List the products of a market, this returns each product's on-sale status in this market and its price in the market's currency.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/markets/{id}/products"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1},{"name":"is_excluded","in":"query","type":"boolean","description":"Filter by exclusion status: true returns only excluded products, false returns only included products, omit to return all"},{"name":"keyword","in":"query","type":"string","description":"Search keyword matched against product title"},{"name":"collection_id","in":"query","type":"string","description":"Filter products belonging to a specific collection"},{"name":"sort_by","in":"query","type":"string","description":"Field to sort by"},{"name":"sort_direction","in":"query","type":"string","description":"Sort direction (e.g., asc or desc)"},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"A limit on the number of objects to return. Range: 1-100 (default is 10)","default":10,"minimum":1,"maximum":100}],"response_schema":"v202601.ListMarketProductsResponse"},{"id":"market-preview","command_path":["markets","preview"],"summary":"Preview markets to be deleted","description":"Given a set of countries, preview which existing markets would be fully claimed and therefore automatically deleted. Call this before creating or updating a market so the caller knows which markets will be removed.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/markets/preview","body":"*"},"body":{"required":true,"fields":[{"name":"countries","type":"array","items":{"type":"string"},"required":true,"description":"Countries to claim, ISO 3166-1 alpha-2 codes in upper case (e.g., US, JP). Because a country may belong to only one market, any other market whose countries are all claimed here will be automatically deleted","min_length":1},{"name":"except_market_id","type":"string","description":"Market ID to exclude from the check"}]},"response_schema":"v202601.PreviewMarketResponse"},{"id":"market-update","command_path":["markets","update"],"summary":"Update market","description":"Update a market's name or covered countries.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/markets/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"body":{"fields":[{"name":"name","type":"string","description":"New market name. Maximum 50 characters. Omit to keep unchanged","max_length":50},{"name":"countries","type":"array","items":{"type":"string"},"description":"Covered countries (ISO 3166-1 alpha-2 upper case). Full replacement, NOT incremental. Omit to keep unchanged"},{"name":"confirm","type":"boolean","description":"Confirmation flag for country occupation, same semantics as in market creation"}]},"response_schema":"v202601.UpdateMarketResponse"},{"id":"market-default-language-update","command_path":["markets","update-default-language"],"summary":"Update market default language","description":"Set the default language of a market. The language must already be published to the market and enabled.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/markets/{id}/default-language","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"body":{"required":true,"fields":[{"name":"language_code","type":"string","required":true,"description":"IETF language code (e.g., zh-CN). The language must already be published to this market and enabled. For the primary market, changing the default language also changes the store default language","min_length":1}]},"response_schema":"v202601.UpdateMarketDefaultLanguageResponse"},{"id":"market-domain-update","command_path":["markets","update-domain"],"summary":"Update market domain","description":"Change a market's domain mode (primary domain or sub-path).","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/markets/{id}/domain","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"body":{"required":true,"fields":[{"name":"domain_type","type":"string","required":true,"description":"Domain mode. Allowed values: - `primary`: use a primary (independent) domain - `sub_path`: use a sub-path suffix under the primary domain For a non-primary market, switching domain_type deletes all existing language configurations of this market and re-copies them from the primary market."},{"name":"domain_value","type":"string","description":"Domain value. Maximum 255 characters; letters, digits and underscore only. Required when domain_type is sub_path. The sub-path must not clash with a language code abbreviation (e.g., ca)","max_length":255}]},"response_schema":"v202601.UpdateMarketDomainResponse"},{"id":"market-price-update","command_path":["markets","update-price"],"summary":"Update market price","description":"Change a market's base currency, price adjustment and local-currency display. Custom exchange rate is not supported.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/markets/{id}/price","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"body":{"required":true,"fields":[{"name":"currency","type":"string","required":true,"description":"Base currency, ISO 4217 three-letter code in upper case (e.g., USD). Must be supplied with the current currency even when only adjusting price. Switching currency clears all fixed prices already set for products in this market"},{"name":"price_adjust","type":"integer","format":"int32","description":"Price adjustment percentage. Range -99 to 999; positive raises price, negative lowers it. Pass 0 for no adjustment","minimum":-99,"maximum":999},{"name":"local_currency_enabled","type":"boolean","description":"Whether the local-currency display is enabled for this market"}]},"response_schema":"v202601.UpdateMarketPriceResponse"},{"id":"market-products-price-update","command_path":["markets","update-product-price"],"summary":"Update market product prices","description":"Set or remove fixed prices of products in a market.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/markets/{id}/products/price","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"body":{"required":true,"fields":[{"name":"products","type":"array","items":{"type":"object","schema":"v202601.MarketProductPriceItem"},"required":true,"description":"Per-product fixed-price operations","min_length":1}]},"response_schema":"v202601.UpdateMarketProductPricesResponse"},{"id":"market-status-update","command_path":["markets","update-status"],"summary":"Update market status","description":"Enable or pause a market. The primary market cannot be paused; pausing a market prevents customers from checking out.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/markets/{id}/status","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"body":{"required":true,"fields":[{"name":"status","type":"string","required":true,"description":"Market status. Allowed values: - `active`: market is enabled - `paused`: market is paused; customers cannot check out. The primary market cannot be paused"}]},"response_schema":"v202601.UpdateMarketStatusResponse"},{"id":"market-tax-update","command_path":["markets","update-tax"],"summary":"Update market tax","description":"Change whether product prices include tax. This is the only update allowed on the primary market.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/markets/{id}/tax","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Market ID","min_length":1}],"body":{"required":true,"fields":[{"name":"product_tax_included","type":"boolean","required":true,"description":"Whether product prices already include tax"}]},"response_schema":"v202601.UpdateMarketTaxResponse"},{"id":"menu-create","command_path":["menu","create"],"summary":"Create menu","description":"Create a custom menu for the store.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/menus","body":"*"},"body":{"required":true,"fields":[{"name":"title","type":"string","required":true,"description":"Menu title","min_length":1},{"name":"category","type":"integer","format":"int32","description":"Menu category. This endpoint creates custom menus only (`3`); built-in menus are maintained by the platform. Defaults to `3` when omitted"},{"name":"children","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"},"description":"Menu items tree. Each item has `title`, `type` (required, e.g. `home`, `collection`, `page`), `url`, `children`, etc."}]},"response_schema":"v202601.CreateMenuResponse"},{"id":"menu-delete","command_path":["menu","delete"],"summary":"Delete menu","description":"Delete a custom menu. Built-in menus cannot be deleted.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/menus/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Menu id to delete (custom category only)","min_length":1}],"response_schema":"v202601.DeleteMenuResponse"},{"id":"menus-list","command_path":["menu","list"],"summary":"List menus","description":"List the store's menus (navigation). Supports filtering by ids and hiding disabled items.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/menus"},"parameters":[{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"Optional menu ids to filter; empty = all menus"},{"name":"hide_disabled","in":"query","type":"boolean","description":"When true, hide disabled menu items"},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Page size, defaults to 100"}],"response_schema":"v202601.ListMenusResponse"},{"id":"menu-update","command_path":["menu","update"],"summary":"Update menu","description":"Update a menu's name and items. Built-in menus only allow a limited set of fields to change.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/menus/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Menu id to update","min_length":1}],"body":{"fields":[{"name":"title","type":"string","description":"New title. Optional; kept unchanged when omitted"},{"name":"category","type":"integer","format":"int32","description":"Menu category (custom menu = `3`). Optional; `0` or omitted keeps the current value"},{"name":"children","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"},"description":"Menu items tree. Omitted or an empty array both keep the current items"}]},"response_schema":"v202601.UpdateMenuResponse"},{"id":"metafield-definition-count","command_path":["metafields-definition","count"],"summary":"Count metafield by definition","description":"Retrieve the count of metafields by definition IDs.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafield_definition/{owner_resource}/count"},"parameters":[{"name":"owner_resource","in":"path","type":"string","required":true,"description":"Resource type the metafield definitions are attached to: - `shop`: Shop - `product`: Product - `product_image`: Product image - `product_variant`: Product variant - `order`: Order - `page`: Custom page - `customer`: Customer - `collection`: Collection - `blog`: Blog - `article`: Article - `app`: App","min_length":1},{"name":"definition_ids","in":"query","type":"array","items":{"type":"integer","format":"uint64"},"required":true,"description":"Array of metafield definition IDs to count. Example: ?definition_ids=1001&definition_ids=1002","min_length":1}],"response_schema":"v202506.GetMetafieldDefinitionCountResponse"},{"id":"metafield-definition-count-by-group","command_path":["metafields-definition","count-by-group"],"summary":"Get metafield definition count by group","description":"Retrieve the count of metafield definitions by group.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafield_definition/group_count"},"response_schema":"v202506.GetMetafieldDefinitionCountByGroupResponse"},{"id":"metafield-definition-create","command_path":["metafields-definition","create"],"summary":"Create metafield definition","description":"Create a new metafield definition.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/metafield_definition/{owner_resource}","body":"*"},"parameters":[{"name":"owner_resource","in":"path","type":"string","required":true,"description":"Resource type the metafield definition is attached to: - `shop`: Shop - `product`: Product - `product_image`: Product image - `product_variant`: Product variant - `order`: Order - `page`: Custom page - `customer`: Customer - `collection`: Collection - `blog`: Blog - `article`: Article - `app`: App","min_length":1}],"body":{"required":true,"fields":[{"name":"namespace","type":"string","required":true,"description":"A container for a group of metafields. Grouping metafields within a namespace prevents your metafields from conflicting with other metafields with the same key name. For example, \"global\"","min_length":1},{"name":"key","type":"string","required":true,"description":"The key of the metafield (unique within the namespace). For example, \"color\"","min_length":1},{"name":"description","type":"string","description":"A brief description of the metafield definition"},{"name":"type","type":"string","required":true,"description":"Field type of the metafield: - `date`: Date - `date_time`: Date and time - `weight`: Weight - `volume`: Volume - `dimension`: Dimension - `integer`: Integer - `number_decimal`: Decimal - `file_reference`: File reference - `single_line_text_field`: Single-line text - `multi_line_text_field`: Multi-line text - `json`: JSON - `color`: Color - `rating`: Rating - `url`: URL - `boolean`: Boolean (true or false) - `string`: String","min_length":1},{"name":"name","type":"string","required":true,"description":"Name of the metafield definition","min_length":1}]},"response_schema":"v202506.CreateMetafieldDefinitionResponse"},{"id":"metafield-definition-delete","command_path":["metafields-definition","delete"],"summary":"Delete metafield definition","description":"Delete a metafield definition by its unique identifier.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/metafield_definition/{id}"},"parameters":[{"name":"id","in":"path","type":"integer","format":"uint64","required":true,"description":"The unique identifier for the metafield definition"}],"response_schema":"v202506.DeleteMetafieldDefinitionResponse"},{"id":"metafield-definition-detail","command_path":["metafields-definition","get"],"summary":"Get metafield definition","description":"Retrieve a metafield definition by its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafield_definition"},"parameters":[{"name":"id","in":"query","type":"integer","format":"uint64","required":true,"description":"The unique identifier for the metafield definition"}],"response_schema":"v202506.GetMetafieldDefinitionResponse"},{"id":"metafield-definitions","command_path":["metafields-definition","list"],"summary":"List metafield definitions","description":"Retrieve a list of all metafield definitions.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafield_definition/{owner_resource}"},"parameters":[{"name":"owner_resource","in":"path","type":"string","required":true,"description":"Resource type the metafield definition is attached to: - `shop`: Shop - `product`: Product - `product_image`: Product image - `product_variant`: Product variant - `order`: Order - `page`: Custom page - `customer`: Customer - `collection`: Collection - `blog`: Blog - `article`: Article - `app`: App","min_length":1}],"response_schema":"v202506.ListMetafieldDefinitionResponse"},{"id":"metafield-definition-update","command_path":["metafields-definition","update"],"summary":"Update metafield definition","description":"Update an existing metafield definition.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/metafield_definition/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"integer","format":"uint64","required":true,"description":"The unique identifier for the metafield definition"}],"body":{"fields":[{"name":"description","type":"string","description":"Updated description of the metafield definition"},{"name":"name","type":"string","description":"Updated name of the metafield definition"}]},"response_schema":"v202506.UpdateMetafieldDefinitionResponse"},{"id":"metafield-count","command_path":["metafields-resource","count"],"summary":"Get metafield count","description":"Get the metafield count of a specific resource.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafields/{owner_resource}/{owner_id}/count"},"parameters":[{"name":"owner_resource","in":"path","type":"string","required":true,"description":"Resource type the metafield is attached to: - `shop`: Shop - `product`: Product - `product_image`: Product image - `product_variant`: Product variant - `order`: Order - `page`: Custom page - `customer`: Customer - `collection`: Collection - `blog`: Blog - `article`: Article - `app`: App","min_length":1},{"name":"owner_id","in":"path","type":"string","required":true,"description":"The ID of the resource the metafield is attached to","min_length":1}],"response_schema":"v202506.GetMetafieldCountResponse"},{"id":"metafield-create","command_path":["metafields-resource","create"],"summary":"Create metafield","description":"Create a metafield for the specified resource.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/metafields/{owner_resource}/{owner_id}","body":"*"},"parameters":[{"name":"owner_resource","in":"path","type":"string","required":true,"description":"Resource type the metafield is attached to: - `shop`: Shop - `product`: Product - `product_image`: Product image - `product_variant`: Product variant - `order`: Order - `page`: Custom page - `customer`: Customer - `collection`: Collection - `blog`: Blog - `article`: Article - `app`: App","min_length":1},{"name":"owner_id","in":"path","type":"string","required":true,"description":"The ID of the resource the metafield is attached to","min_length":1}],"body":{"required":true,"fields":[{"name":"definition_id","type":"string","required":true,"description":"The ID of the associated metafield definition","min_length":1},{"name":"namespace","type":"string","required":true,"description":"A container for a group of metafields. Grouping metafields within a namespace prevents your metafields from conflicting with other metafields with the same key name. For example, \"global\"","min_length":1},{"name":"key","type":"string","required":true,"description":"The key of the metafield (unique within the namespace). For example, \"color\"","min_length":1},{"name":"value","type":"object","schema":"google.protobuf.Value","required":true,"description":"The value of the metafield; its data type is determined by the `type` field. For example, { \"mediaContentType\": \"IMAGE\", \"image\": { \"path\": \"6181b00da510ae8cf04673695cecf4c8.jpg\", \"alt\": \"\", \"width\": 750, \"height\": 750, \"aspect_ratio\": 1, \"src\": \"https://cdn.shoplazza.com/6181b00da510ae8cf04673695cecf4c8.jpg\", \"size\": 775566 } }"},{"name":"type","type":"string","required":true,"description":"Field type of the metafield: - `date`: Date - `date_time`: Date and time - `weight`: Weight - `volume`: Volume - `dimension`: Dimension - `integer`: Integer - `number_decimal`: Decimal - `file_reference`: File reference - `single_line_text_field`: Single-line text - `multi_line_text_field`: Multi-line text - `json`: JSON - `color`: Color - `rating`: Rating - `url`: URL - `boolean`: Boolean (true or false)"},{"name":"description","type":"string","description":"A brief description of the metafield","min_length":1}]},"response_schema":"v202506.CreateMetafieldResponse"},{"id":"metafield-delete","command_path":["metafields-resource","delete"],"summary":"Delete metafield","description":"Delete a metafield by ID.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/metafields/{owner_resource}/{owner_id}/{id}"},"parameters":[{"name":"owner_resource","in":"path","type":"string","required":true,"description":"Resource type the metafield is attached to: - `shop`: Shop - `product`: Product - `product_image`: Product image - `product_variant`: Product variant - `order`: Order - `page`: Custom page - `customer`: Customer - `collection`: Collection - `blog`: Blog - `article`: Article - `app`: App","min_length":1},{"name":"owner_id","in":"path","type":"string","required":true,"description":"The ID of the resource the metafield is attached to","min_length":1},{"name":"id","in":"path","type":"string","required":true,"description":"The unique ID of the metafield to delete","min_length":1}],"response_schema":"v202506.DeleteMetafieldResponse"},{"id":"metafield-detail","command_path":["metafields-resource","get"],"summary":"Get metafield","description":"Get a metafield by ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafields/{owner_resource}/{owner_id}/{id}"},"parameters":[{"name":"owner_resource","in":"path","type":"string","required":true,"description":"Resource type the metafield is attached to: - `shop`: Shop - `product`: Product - `product_image`: Product image - `product_variant`: Product variant - `order`: Order - `page`: Custom page - `customer`: Customer - `collection`: Collection - `blog`: Blog - `article`: Article - `app`: App","min_length":1},{"name":"owner_id","in":"path","type":"string","required":true,"description":"The ID of the resource the metafield is attached to","min_length":1},{"name":"id","in":"path","type":"string","required":true,"description":"The unique ID of the metafield to retrieve","min_length":1}],"response_schema":"v202506.GetMetafieldResponse"},{"id":"metafields","command_path":["metafields-resource","list"],"summary":"List metafields","description":"List metafields of a specific resource.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafields/{owner_resource}/{owner_id}"},"parameters":[{"name":"owner_resource","in":"path","type":"string","required":true,"description":"Resource type the metafield is attached to: - `shop`: Shop - `product`: Product - `product_image`: Product image - `product_variant`: Product variant - `order`: Order - `page`: Custom page - `customer`: Customer - `collection`: Collection - `blog`: Blog - `article`: Article - `app`: App","min_length":1},{"name":"owner_id","in":"path","type":"string","required":true,"description":"The ID of the resource the metafield is attached to","min_length":1},{"name":"namespace","in":"query","type":"string","description":"A container for a group of metafields. Grouping metafields within a namespace prevents your metafields from conflicting with other metafields with the same key name. For example, \"global\""},{"name":"key","in":"query","type":"string","description":"The key of the metafield (unique within the namespace). For example, \"color\""},{"name":"type","in":"query","type":"string","description":"Field type of the metafield: - `date`: Date - `date_time`: Date and time - `weight`: Weight - `volume`: Volume - `dimension`: Dimension - `integer`: Integer - `number_decimal`: Decimal - `file_reference`: File reference - `single_line_text_field`: Single-line text - `multi_line_text_field`: Multi-line text - `json`: JSON - `color`: Color - `rating`: Rating - `url`: URL - `boolean`: Boolean (true or false)"},{"name":"page_size","in":"query","type":"integer","format":"int64","description":"Page size"},{"name":"cursor","in":"query","type":"integer","format":"uint64","description":"Cursor for pagination"},{"name":"create_at_min","in":"query","type":"string","description":"Filter for metafields whose creation time is not earlier than this point. ISO-8601 format. For example, \"2022-12-02T09:46:30Z\""},{"name":"create_at_max","in":"query","type":"string","description":"Filter for metafields whose creation time is not later than this point. ISO-8601 format. For example, \"2022-12-02T09:46:30Z\""},{"name":"update_at_min","in":"query","type":"string","description":"Filter for metafields whose last update time is not earlier than this point. ISO-8601 format. For example, \"2022-12-02T09:46:30Z\""},{"name":"update_at_max","in":"query","type":"string","description":"Filter for metafields whose last update time is not later than this point. ISO-8601 format. For example, \"2022-12-02T09:46:30Z\""},{"name":"definition_ids","in":"query","type":"array","items":{"type":"integer","format":"uint64"},"description":"The metafield definition ID list. Example: ?definition_ids=1001&definition_ids=1002"}],"response_schema":"v202506.GetMetafieldListResponse"},{"id":"metafield-update","command_path":["metafields-resource","update"],"summary":"Update metafield","description":"Update a metafield of the specified resource.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/metafields/{owner_resource}/{owner_id}/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The unique identifier for the metafield","min_length":1},{"name":"owner_resource","in":"path","type":"string","required":true,"description":"Resource type the metafield is attached to: - `shop`: Shop - `product`: Product - `product_image`: Product image - `product_variant`: Product variant - `order`: Order - `page`: Custom page - `customer`: Customer - `collection`: Collection - `blog`: Blog - `article`: Article - `app`: App","min_length":1},{"name":"owner_id","in":"path","type":"string","required":true,"description":"The ID of the resource the metafield is attached to","min_length":1}],"body":{"required":true,"fields":[{"name":"value","type":"object","schema":"google.protobuf.Value","required":true,"description":"The value of the metafield; its data type is determined by the `type` field"},{"name":"type","type":"string","required":true,"description":"Field type of the metafield: - `date`: Date - `date_time`: Date and time - `weight`: Weight - `volume`: Volume - `dimension`: Dimension - `integer`: Integer - `number_decimal`: Decimal - `file_reference`: File reference - `single_line_text_field`: Single-line text - `multi_line_text_field`: Multi-line text - `json`: JSON - `color`: Color - `rating`: Rating - `url`: URL - `boolean`: Boolean (true or false)"},{"name":"description","type":"string","description":"A brief description of the metafield","min_length":1}]},"response_schema":"v202506.UpdateMetafieldResponse"},{"id":"shop-metafield-count","command_path":["metafields-shop","count"],"summary":"Get shop metafield count","description":"Get the total number of shop metafields.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafields-shop/count"},"response_schema":"v202506.GetShopMetafieldCountResponse"},{"id":"shop-metafield-create","command_path":["metafields-shop","create"],"summary":"Create shop metafield","description":"Create a new metafield for the current shop.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/metafields-shop","body":"*"},"body":{"required":true,"fields":[{"name":"namespace","type":"string","required":true,"description":"A container for a group of metafields. Grouping metafields within a namespace prevents your metafields from conflicting with other metafields with the same key name. For example, \"global\"","min_length":1},{"name":"key","type":"string","required":true,"description":"The key of the metafield (unique within the namespace). For example, \"color\"","min_length":1},{"name":"type","type":"string","required":true,"description":"Metafield value type: - `JSON`: JSON value - `string`: String value","min_length":1},{"name":"value","type":"object","schema":"google.protobuf.Value","required":true,"description":"The value of the metafield; its data type is determined by the `type` field. For example, \"red\""},{"name":"description","type":"string","description":"A brief description of the metafield. For example, \"The color of the product\""},{"name":"definition_id","type":"string","description":"The ID of the associated metafield definition. For example, \"123456\""}]},"response_schema":"v202506.CreateShopMetafieldResponse"},{"id":"shop-metafield-delete","command_path":["metafields-shop","delete"],"summary":"Delete shop metafield","description":"Delete a shop metafield by ID.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/metafields-shop/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The unique identifier for the metafield. For example, \"123456\""}],"response_schema":"v202506.DeleteShopMetafieldResponse"},{"id":"shop-metafield","command_path":["metafields-shop","get"],"summary":"Get shop metafield","description":"Get details of a specific shop metafield.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafields-shop/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The unique identifier for the metafield. For example, \"123456\""},{"name":"fields","in":"query","type":"string","description":"Comma-separated list of fields to include in the response. For example, \"ID,value,key\""}],"response_schema":"v202506.GetShopMetafieldResponse"},{"id":"shop-metafields","command_path":["metafields-shop","list"],"summary":"List shop metafields","description":"List metafields attached to the current shop.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/metafields-shop"},"parameters":[{"name":"namespace","in":"query","type":"string","description":"A container for a group of metafields. Grouping metafields within a namespace prevents your metafields from conflicting with other metafields with the same key name. For example, \"global\""},{"name":"key","in":"query","type":"string","description":"The key of the metafield (unique within the namespace). For example, \"color\""},{"name":"type","in":"query","type":"string","description":"Metafield value type: - `JSON`: JSON value - `string`: String value"},{"name":"limit","in":"query","type":"integer","format":"int64","description":"Maximum number of metafields to return per page. Default is 50","default":50},{"name":"cursor","in":"query","type":"integer","format":"uint64","description":"Cursor for pagination"},{"name":"fields","in":"query","type":"string","description":"Comma-separated list of fields to include in the response. For example, \"ID,value,key\""},{"name":"create_at_max","in":"query","type":"string","description":"Filter for metafields whose creation time is not later than this point. ISO-8601 format. For example, \"2023-01-01T00:00:00Z\""},{"name":"create_at_min","in":"query","type":"string","description":"Filter for metafields whose creation time is not earlier than this point. ISO-8601 format. For example, \"2023-01-01T00:00:00Z\""},{"name":"update_at_max","in":"query","type":"string","description":"Filter for metafields whose last update time is not later than this point. ISO-8601 format. For example, \"2023-01-01T00:00:00Z\""},{"name":"update_at_min","in":"query","type":"string","description":"Filter for metafields whose last update time is not earlier than this point. ISO-8601 format. For example, \"2023-01-01T00:00:00Z\""},{"name":"metafields","in":"query","type":"object","items":{"type":"string"},"description":"Additional metafield filter conditions in JSON string form. For example, {\"key\": \"value\"}"}],"response_schema":"v202506.ListShopMetafieldResponse"},{"id":"shop-metafield-update","command_path":["metafields-shop","update"],"summary":"Update shop metafield","description":"Update an existing shop metafield.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/metafields-shop/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"The unique identifier for the metafield. For example, \"123456\""}],"body":{"required":true,"fields":[{"name":"type","type":"string","required":true,"description":"Metafield value type: - `JSON`: JSON value - `string`: String value","min_length":1},{"name":"value","type":"object","schema":"google.protobuf.Value","required":true,"description":"The value of the metafield; its data type is determined by the `type` field. For example, \"red\""},{"name":"description","type":"string","description":"A brief description of the metafield. For example, \"The color of the product\""}]},"response_schema":"v202506.UpdateShopMetafieldResponse"},{"id":"custom-page-batch-delete","command_path":["pages","batch-delete"],"summary":"Batch delete pages","description":"Deletes multiple custom pages in a single request.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/pages/store-pages/batch","body":"*"},"body":{"required":true,"fields":[{"name":"ids","type":"array","items":{"type":"integer","format":"int32"},"required":true,"description":"List of IDs","min_length":1}]},"response_schema":"v202506.BatchDeleteCustomPagesResponse"},{"id":"custom-page-detail-batch","command_path":["pages","batch-get"],"summary":"Batch get pages","description":"Retrieves details for multiple custom pages in a single request.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/pages/details","body":"*"},"body":{"required":true,"fields":[{"name":"ids","type":"array","items":{"type":"integer","format":"int32"},"required":true,"description":"List of IDs","min_length":1}]},"response_schema":"v202506.BatchGetCustomPagesResponse"},{"id":"custom-page-count","command_path":["pages","count"],"summary":"Get page count","description":"Retrieve the total number of pages.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/pages/count"},"parameters":[{"name":"title","in":"query","type":"string","description":"The title of the page to filter by"}],"response_schema":"v202506.GetCustomPageCountResponse"},{"id":"custom-page-create","command_path":["pages","create"],"summary":"Create page","description":"Create a new page with the provided details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/pages","body":"*"},"body":{"required":true,"fields":[{"name":"page","type":"object","schema":"v202506.CreateCustomPageParam","required":true,"description":"Page number"}]},"response_schema":"v202506.CreateCustomPageResponse"},{"id":"custom-page-delete","command_path":["pages","delete"],"summary":"Delete page","description":"Delete a specific page using its unique identifier.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/pages/{id}"},"parameters":[{"name":"id","in":"path","type":"integer","format":"int32","required":true,"description":"The ID of the page to delete"}],"response_schema":"v202506.DeleteCustomPageResponse"},{"id":"custom-page-detail","command_path":["pages","get"],"summary":"Get page","description":"Retrieve details of a specific page using its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/pages/{id}"},"parameters":[{"name":"id","in":"path","type":"integer","format":"int32","required":true,"description":"The ID of the page"}],"response_schema":"v202506.GetCustomPageResponse"},{"id":"custom-pages","command_path":["pages","list"],"summary":"List pages","description":"Retrieve a list of all pages with pagination.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/pages"},"parameters":[{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records per page. The default value is 10","default":10,"minimum":1},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"}],"response_schema":"v202506.ListCustomPageResponse"},{"id":"custom-page-detail-search","command_path":["pages","search"],"summary":"Search page","description":"Searches custom pages by keyword or other filter criteria.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/pages/store-pages/info"},"parameters":[{"name":"url","in":"query","type":"string","required":true,"description":"URL","min_length":1}],"response_schema":"v202506.SearchCustomPageResponse"},{"id":"custom-page-update","command_path":["pages","update"],"summary":"Update page","description":"Update the details of an existing page using its unique identifier.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/pages/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"integer","format":"int32","required":true,"description":"The ID of the page to update"}],"body":{"required":true,"fields":[{"name":"page","type":"object","schema":"v202506.UpdateCustomPageParam","required":true,"description":"Page number"}]},"response_schema":"v202506.UpdateCustomPageResponse"},{"id":"url-redirect-create","command_path":["redirects","create"],"summary":"Create URL redirect","description":"Create a new url redirect with the provided details.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/redirects","body":"*"},"body":{"required":true,"fields":[{"name":"redirect","type":"object","schema":"v202506.CreateUrlRedirectParam","required":true,"description":"The URL redirect to be created"}]},"response_schema":"v202506.CreateUrlRedirectResponse"},{"id":"url-redirect-delete","command_path":["redirects","delete"],"summary":"Delete URL redirect","description":"Delete a specific url redirect using its unique identifier.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/redirects/{id}"},"parameters":[{"name":"id","in":"path","type":"integer","format":"int64","required":true,"description":"Redirect ID"}],"response_schema":"v202506.DeleteUrlRedirectResponse"},{"id":"url-redirect","command_path":["redirects","get"],"summary":"Get URL redirect","description":"Retrieve details of a specific url redirect using its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/redirects/{id}"},"parameters":[{"name":"id","in":"path","type":"integer","format":"int64","required":true,"description":"Redirect ID"}],"response_schema":"v202506.GetUrlRedirectResponse"},{"id":"url-redirects-detail","command_path":["redirects","list"],"summary":"List URL redirects","description":"Retrieve a list of all url redirect with pagination.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/redirects"},"response_schema":"v202506.ListUrlRedirectResponse"},{"id":"url-redirect-detail-search","command_path":["redirects","search"],"summary":"Search URL redirect","description":"Searches URL redirect rules by path pattern or keyword.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/redirects/detail","body":"*"},"body":{"required":true,"fields":[{"name":"from_url","type":"string","required":true,"description":"The original URL to search for a redirect","min_length":1}]},"response_schema":"v202506.SearchUrlRedirectResponse"},{"id":"url-redirect-update","command_path":["redirects","update"],"summary":"Update URL redirect","description":"Update the details of an existing url redirect using its unique identifier.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/redirects/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"integer","format":"int64","required":true,"description":"Redirect ID"}],"body":{"required":true,"fields":[{"name":"redirect","type":"object","schema":"v202506.UpdateUrlRedirectParam","required":true,"description":"The URL redirect to be updated"}]},"response_schema":"v202506.UpdateUrlRedirectResponse"}]},{"name":"themes","groups":{"app":{"summary":"Manage app embeds and injected script tags on the storefront, and list app extension cards."},"block":{"summary":"Manage blocks inside a card and AI cards, and list public cards."},"file":{"summary":"View the file tree, and read, write, rename, and delete theme files."},"market":{"summary":"Browse the theme market and install a theme into the store."},"pb":{"summary":"Page-builder operations: get and save page-builder blocks, save and delete custom card templates, render a canvas snapshot, and preview canvas edits."},"section":{"summary":"Arrange the cards on a page: list addable cards and the cards on a page, get a card's details, set its properties, and remove it from the page."},"session":{"summary":"Work on a theme inside an edit session: read and write files, batch edits, read and update the global config, list the card library, check conflicts, and save to the draft."},"template":{"summary":"Manage custom templates bound to products, collections, and pages."},"version":{"summary":"Manage a theme's version history."}},"commands":[{"id":"theme-app-disable","command_path":["app","disable"],"summary":"Disable app embed","description":"Disable a specific app-embed block or script tag within an edit session.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/apps/disable","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1}],"body":{"required":true,"fields":[{"name":"doc_id","type":"string","description":"Document (template file) ID containing the skin section. Optional; empty -> server resolves index.liquid"},{"name":"theme_id","type":"string","required":true,"description":"Theme ID whose app switches are updated; also resolves the default document and the rendering context"},{"name":"category","type":"string","description":"Category: `app_embeds` or `script_tags`. Optional; only used to disambiguate when `block_id` is not unique"},{"name":"app_key","type":"string","description":"App grouping key. Optional; empty -> server searches all groups by `block_id`"},{"name":"block_id","type":"string","required":true,"description":"Block identifier: `type` field for `app_embeds`, `id` field for `script_tags`","min_length":1},{"name":"template_name","type":"string","description":"Render-context template name; defaults to `index`"},{"name":"locale","type":"string","description":"Rendering locale; defaults to en_US"}]},"response_schema":"v202601.DisableThemeAppResponse"},{"id":"theme-app-enable","command_path":["app","enable"],"summary":"Enable app embed","description":"Enable a specific app-embed block or script tag within an edit session.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/apps/enable","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1}],"body":{"required":true,"fields":[{"name":"doc_id","type":"string","description":"Document (template file) ID containing the skin section. Optional; empty -> server resolves index.liquid"},{"name":"theme_id","type":"string","required":true,"description":"Theme ID whose app switches are updated; also resolves the default document and the rendering context"},{"name":"category","type":"string","description":"Category: `app_embeds` or `script_tags`. Optional; only used to disambiguate when `block_id` is not unique"},{"name":"app_key","type":"string","description":"App grouping key. Optional; empty -> server searches all groups by `block_id`"},{"name":"block_id","type":"string","required":true,"description":"Block identifier: `type` field for `app_embeds`, `id` field for `script_tags`","min_length":1},{"name":"template_name","type":"string","description":"Render-context template name; defaults to `index`"},{"name":"locale","type":"string","description":"Rendering locale; defaults to en_US"}]},"response_schema":"v202601.EnableThemeAppResponse"},{"id":"theme-extensions-list","command_path":["app","extensions"],"summary":"List app extension cards","description":"List the app extension cards that can be added to a template, grouped by app.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/extensions"},"parameters":[{"name":"template","in":"query","type":"string","description":"Template name to filter installable blocks, e.g. index"},{"name":"limit","in":"query","type":"integer","format":"int32","description":"Optional max number of results"}],"response_schema":"v202601.ListThemeExtensionResponse"},{"id":"theme-apps-list","command_path":["app","list"],"summary":"List app embeds","description":"List the embed cards (app embeds) provided by the store's installed apps, plus injected script\ntags.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/apps"},"parameters":[{"name":"limit","in":"query","type":"integer","format":"int32","description":"Max number of app-embed blocks to return, default no cap. Does not affect `script_tag_apps`"}],"response_schema":"v202601.ListThemeAppsResponse"},{"id":"theme-section-add-block","command_path":["block","add"],"summary":"Add block to a card","description":"Append/insert a block into a card within an edit session.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/sections/{section_id}/blocks","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"section_id","in":"path","type":"string","required":true,"description":"Section instance ID inside the document; a global card id (`header`, `footer`, `announcement`, `cart_drawer`) also works","min_length":1}],"body":{"required":true,"fields":[{"name":"doc_id","type":"string","required":true,"description":"Document (template file) ID","min_length":1},{"name":"theme_id","type":"string","required":true,"description":"Theme ID (for rendering context url)"},{"name":"block","type":"object","schema":"google.protobuf.Struct","required":true,"description":"The block object to add, e.g. `{type, settings}`"},{"name":"index","type":"integer","format":"int32","description":"0-based insert position within the parent's blocks (the section root when `parent_path` is empty). Pass -1 (or any value past the end) to append. Omitted = 0 = insert at the front"},{"name":"parent_path","type":"array","items":{"type":"integer","format":"int32"},"description":"Ancestor index path from the section root to the parent block the new block is inserted into (each element a 0-based index into a blocks array); empty = insert at top-level. e.g. `parent_path=[1,0]` with `index=-1` appends into `section.blocks[1].blocks[0].blocks`"},{"name":"template_name","type":"string","description":"Template name; defaults to file location without `.liquid`"},{"name":"locale","type":"string","description":"Rendering locale; defaults to en_US"}]},"response_schema":"v202601.SetSectionPropsResponse"},{"id":"theme-gen-block-create","command_path":["block","create-gen"],"summary":"Create AI card","description":"Create an AI card from liquid code (must contain a `{% schema %}` tag) within an edit session.\nThe response `settings` is the card's full default config and can be used directly to place the\ncard on a page.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/gen-blocks","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1}],"body":{"required":true,"fields":[{"name":"content","type":"string","required":true,"description":"Card liquid source; must contain a schema tag. `schema.name` inside is the merchant-visible display name (no uniqueness requirement)","min_length":1}]},"response_schema":"v202601.CreateGenBlockResponse"},{"id":"theme-gen-block-delete","command_path":["block","delete-gen"],"summary":"Delete AI card","description":"Delete an AI card and remove it from every page of the theme.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/gen-blocks"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"type","in":"query","type":"string","required":true,"description":"The `card_type` (`blocks/` + file name without extension), e.g. `blocks/gen_1a0d523`"}],"response_schema":"v202601.DeleteGenBlockResponse"},{"id":"theme-gen-block-detail","command_path":["block","get-gen"],"summary":"Get AI card details","description":"Get an AI card's file info and its usage in the current session (whether it is saved, how many\ntimes it is used, etc.); pass `with_content=true` to include the card's source code.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/gen-blocks"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"type","in":"query","type":"string","required":true,"description":"The `card_type` (`blocks/` + file name without extension), e.g. `blocks/gen_1a0d523`"},{"name":"with_content","in":"query","type":"boolean","description":"When true, the response additionally carries the card source in `doc.content`"}],"response_schema":"v202601.GetGenBlockResponse"},{"id":"theme-public-blocks-list","command_path":["block","list"],"summary":"List public cards","description":"List public cards available for a template or theme.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/public-blocks"},"parameters":[{"name":"template","in":"query","type":"string","description":"Template name to filter public blocks, e.g. index"},{"name":"theme","in":"query","type":"string","description":"Theme name, e.g. Nova 2023"},{"name":"limit","in":"query","type":"integer","format":"int32","description":"Optional max number of results"}],"response_schema":"v202601.ListPublicBlockResponse"},{"id":"theme-section-remove-block","command_path":["block","remove"],"summary":"Remove block from a card","description":"Remove a block from a card by index within an edit session.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/sections/{section_id}/blocks","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"section_id","in":"path","type":"string","required":true,"description":"Section instance ID inside the document; a global card id (`header`, `footer`, `announcement`, `cart_drawer`) also works","min_length":1}],"body":{"required":true,"fields":[{"name":"doc_id","type":"string","required":true,"description":"Document (template file) ID","min_length":1},{"name":"theme_id","type":"string","required":true,"description":"Theme ID (for rendering context url)"},{"name":"block_index","type":"integer","format":"int32","description":"0-based index of the block to remove within its parent's blocks (the section root when `parent_path` is empty)"},{"name":"parent_path","type":"array","items":{"type":"integer","format":"int32"},"description":"Ancestor index path from the section root to the target block's parent (each element a 0-based index into a blocks array); empty = top-level. e.g. `parent_path=[1,0]` with `block_index=2` removes `section.blocks[1].blocks[0].blocks[2]`"},{"name":"template_name","type":"string","description":"Template name; defaults to file location without `.liquid`"},{"name":"locale","type":"string","description":"Rendering locale; defaults to en_US"}]},"response_schema":"v202601.SetSectionPropsResponse"},{"id":"theme-gen-block-revert","command_path":["block","revert-gen"],"summary":"Revert AI card operation","description":"Restore the card to its state before the operation identified by `revert_id` (returned by any\ncreate, update, delete, or revert). Reverting also returns a new `revert_id`, so you can undo\nand redo repeatedly.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/gen-blocks/revert","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1}],"body":{"required":true,"fields":[{"name":"revert_id","type":"string","required":true,"description":"32-character token taken from any write response (create / update / delete / revert itself); pass it back as-is. The same id may be used repeatedly"}]},"response_schema":"v202601.RevertGenBlockResponse"},{"id":"theme-section-set-slot","command_path":["block","set-props"],"summary":"Set block properties in a card","description":"Set/merge properties into a specific block's settings within a card.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/sections/{section_id}/slot","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"section_id","in":"path","type":"string","required":true,"description":"Section instance ID inside the document; a global card id (`header`, `footer`, `announcement`, `cart_drawer`) also works","min_length":1}],"body":{"required":true,"fields":[{"name":"doc_id","type":"string","required":true,"description":"Document (template file) ID","min_length":1},{"name":"theme_id","type":"string","required":true,"description":"Theme ID (for rendering context url)"},{"name":"block_index","type":"integer","format":"int32","description":"0-based index of the target block within its parent's blocks (the section root when `parent_path` is empty)"},{"name":"parent_path","type":"array","items":{"type":"integer","format":"int32"},"description":"Ancestor index path from the section root to the target block's parent (each element a 0-based index into a blocks array); empty = top-level. e.g. `parent_path=[1,0]` with `block_index=2` targets `section.blocks[1].blocks[0].blocks[2]`"},{"name":"props","type":"object","schema":"google.protobuf.Struct","required":true,"description":"Key→value properties to set/merge into the block's settings"},{"name":"template_name","type":"string","description":"Template name; defaults to file location without `.liquid`"},{"name":"locale","type":"string","description":"Rendering locale; defaults to en_US"}]},"response_schema":"v202601.SetSectionPropsResponse"},{"id":"theme-gen-block-update","command_path":["block","update-gen"],"summary":"Update AI card","description":"Update an AI card with new source code and its full settings. If the card is unused or used in\nonly one place, it is changed in place (`branched=false`); if it is used in several places, a\nnew card is created to carry this change (`branched=true`), and you need to replace the card at\nthe target position with the returned `settings`.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/gen-blocks","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1}],"body":{"required":true,"fields":[{"name":"content","type":"string","required":true,"description":"New liquid source; must contain a schema tag","min_length":1},{"name":"settings","type":"object","schema":"google.protobuf.Struct","required":true,"description":"The card's full config, same shape as the create response's `settings`. Its `type` (blocks/gen_ prefixed) names the card to change; the field values are the merchant's current config"}]},"response_schema":"v202601.UpdateGenBlockResponse"},{"id":"theme-delete","command_path":["delete"],"summary":"Delete theme","description":"Delete a specific theme using its unique identifier. The default theme cannot be deleted.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/themes/{theme_id}"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"}],"response_schema":"v202506.DeleteThemeResponse"},{"id":"theme-duplicate","command_path":["duplicate"],"summary":"Duplicate theme","description":"Copy an existing theme within the current store into a new one and return the new theme ID;\n`sources` limits what is copied.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/copy","body":"*"},"body":{"required":true,"fields":[{"name":"copy_theme_id","type":"string","required":true,"description":"Source theme id to copy from","min_length":1},{"name":"copy_theme_name","type":"string","required":true,"description":"Name for the new (copied) theme","min_length":1},{"name":"sources","type":"string","description":"Optional comma-separated source scopes to copy. Defaults to all"}]},"response_schema":"v202601.CopyThemeResponse"},{"id":"theme-doc-create","command_path":["file","create"],"summary":"Create theme file","description":"Creates a new file within the specified theme.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/{theme_id}/doc","body":"*"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"}],"body":{"required":true,"fields":[{"name":"doc","type":"object","schema":"v202506.CreateThemeFileParam","required":true,"description":"The file to create, containing its type, location, and content"}]},"response_schema":"v202506.CreateThemeFileResponse"},{"id":"theme-doc-delete","command_path":["file","delete"],"summary":"Delete theme file","description":"Delete a specific theme file by theme ID, file type, and file location. `assets/theme.css` and\n`layout/theme.layout` cannot be deleted. Deleting a card file that is still used on a page does\nnot fail; that card simply stops showing on the page.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/themes/{theme_id}/doc","body":"*"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"}],"body":{"fields":[{"name":"type","type":"string","description":"The type of file to delete: `layout`, `templates`, `sections`, `snippets`, `assets`, `config`, `locales`, `blocks`. Defaults to `assets`","default":"assets","min_length":1},{"name":"location","type":"string","description":"The location of the file within the theme. Always pass it explicitly: when omitted the request falls back to assets/a.js and deletes that file","default":"a.js","min_length":1}]},"response_schema":"v202506.DeleteThemeFileResponse"},{"id":"theme-doc-file","command_path":["file","get"],"summary":"Get theme file","description":"Retrieve details of a specific theme's doc file using its unique identifier","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/{theme_id}/doc"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"},{"name":"type","in":"query","type":"string","description":"The type of file to retrieve: `layout`, `templates`, `sections`, `snippets`, `assets`, `config`, `locales`, `blocks`. Defaults to `layout`","min_length":1},{"name":"location","in":"query","type":"string","description":"The file's location. Defaults to theme.liquid","min_length":1}],"response_schema":"v202506.GetThemeFileResponse"},{"id":"theme-doc-rename","command_path":["file","rename"],"summary":"Rename theme file","description":"Renames an existing file within the specified theme.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/themes/{theme_id}/doc-rename","body":"*"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"}],"body":{"required":true,"fields":[{"name":"doc","type":"object","schema":"v202506.RenameThemeFileParam","required":true,"description":"The file to rename, containing its type and the current and new location"}]},"response_schema":"v202506.RenameThemeFileResponse"},{"id":"theme-doc-tree","command_path":["file","tree"],"summary":"Get theme file tree","description":"Get the file tree of the specified theme.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/{theme_id}/doctree"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"The unique ID of the theme for which the doc-tree is requested"}],"response_schema":"v202506.GetThemeDocTreeResponse"},{"id":"theme-doc-patch","command_path":["file","update"],"summary":"Update theme file","description":"Replace the whole content of the specified file. Changes to the default theme's files take\neffect on the storefront immediately; every change is recorded in the file's version history.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/themes/{theme_id}/doc","body":"*"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"}],"body":{"required":true,"fields":[{"name":"doc","type":"object","schema":"v202506.UpdateThemeFileParam","required":true,"description":"The file to update, containing its type, location, and new content"}]},"response_schema":"v202506.UpdateThemeFileResponse"},{"id":"theme-detail","command_path":["get"],"summary":"Get theme info","description":"Retrieve details of a specific theme using its unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/{theme_id}"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"}],"response_schema":"v202506.GetThemeResponse"},{"id":"themes","command_path":["list"],"summary":"List themes","description":"List the store's themes; filter by `published` or `ids`.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes"},"parameters":[{"name":"published","in":"query","type":"string","description":"Filter themes by published status: `0` for unpublished, `1` for published. Omit to return both. With `1` at most one theme (the published one) is returned and paging does not apply"},{"name":"cursor","in":"query","type":"string","description":"Cursor for pagination. Use the cursor returned in the previous response to retrieve the next page"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of themes to return per page. Range: 1-250. Default is 10","minimum":1,"maximum":250},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"ids","in":"query","type":"array","items":{"type":"string"},"description":"List of theme IDs to filter by. Only themes matching the given IDs are returned. Example: ?ids=1001&ids=1002"},{"name":"contain_ext_theme","in":"query","type":"boolean","description":"Whether to include extension themes in the returned results"}],"response_schema":"v202506.ListThemeResponse"},{"id":"theme-install","command_path":["market","install"],"summary":"Install market theme","description":"Install a theme from the theme market into the current store by its market theme id. Supports\nspecifying the theme name and style preset, and setting it as the store's default theme; if the\nstore has no default theme yet, the installed theme becomes the default automatically.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/merchant-themes/{remote_theme_id}/install","body":"*"},"parameters":[{"name":"remote_theme_id","in":"path","type":"string","required":true,"description":"Remote theme id of the market theme to install","min_length":1}],"body":{"fields":[{"name":"name","type":"string","description":"Theme display name"},{"name":"default","type":"boolean","description":"Set as the store default theme"},{"name":"preset","type":"string","description":"Style/preset name (from the market theme's presets)"},{"name":"version","type":"string","description":"Theme version to install; defaults to the market theme's current version (`c_version`)"},{"name":"sources","type":"string","description":"Business source tag recorded on the installed theme. Unrelated to CopyThemeRequest.sources"},{"name":"admin_hidden","type":"boolean","description":"Hide the installed theme in the merchant admin"},{"name":"ext_suffix","type":"string","description":"Suffix appended to the extension theme's name; keep it to 15 characters or fewer"},{"name":"product_id_map","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"},"description":"Product id mappings"},{"name":"collection_id_map","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"},"description":"Collection id mappings"},{"name":"page_id_map","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"},"description":"Custom page id mappings"}]},"response_schema":"v202601.InstallMerchantThemeResponse"},{"id":"theme-market","command_path":["market","list"],"summary":"List market themes","description":"Retrieve the installable platform themes in the theme market. Supports filtering by price\nband, industry, language, category, and features.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/merchant-themes"},"parameters":[{"name":"price","in":"query","type":"string","description":"Filter by price band, comma-separated; values come from `MerchantTheme.price`"},{"name":"preset_default","in":"query","type":"string","description":"Preset-default filter: `1` returns only preset-default themes. Omit to return all"},{"name":"industry","in":"query","type":"string","description":"Filter by industry, comma-separated"},{"name":"language","in":"query","type":"string","description":"Filter by language, comma-separated"},{"name":"category","in":"query","type":"string","description":"Filter by category, comma-separated; values come from `MerchantTheme.category`"},{"name":"features","in":"query","type":"string","description":"Filter by features, comma-separated"},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number, starts at 1. Omit or pass 0 to use the default (1)"},{"name":"limit","in":"query","type":"integer","format":"int32","description":"Page size, up to 200. Omit or pass 0 to use the default (200)"}],"response_schema":"v202601.GetMerchantThemesResponse"},{"id":"theme-pb-template-delete","command_path":["pb","delete-template"],"summary":"Delete page-builder custom template","description":"Delete a page-builder custom template by id.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/themes/page-builder/custom-templates/{template_id}"},"parameters":[{"name":"template_id","in":"path","type":"string","required":true,"description":"Template id to delete","min_length":1}],"response_schema":"v202601.DeletePbTemplateResponse"},{"id":"theme-pb-single-blocks","command_path":["pb","list-blocks"],"summary":"Get page-builder block details","description":"Batch-fetch page-builder blocks by `source_ids`: each returns its name, full block `type`, and\ndefault `settings` — what you need to place the card on a page.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/page-builder/blocks"},"parameters":[{"name":"event_type","in":"query","type":"string","required":true,"description":"Event type of the blocks to look up; use `page-builder` for page-builder blocks","min_length":1},{"name":"source_ids","in":"query","type":"string","required":true,"description":"Source IDs, comma-separated, e.g. `\"global-654263218792825795\"`","min_length":1}],"response_schema":"v202601.GetPageBuilderBlocksResponse"},{"id":"theme-pb-block-save","command_path":["pb","save-block"],"summary":"Save page-builder block","description":"Apply edit operations (`ops`) to a page-builder template and save the result as a new card,\nthen place it at the target position in the edit session; when `event_type` is not `theme`, the\ncard is only saved and not placed on the page.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/page-builder/blocks","body":"*"},"body":{"required":true,"fields":[{"name":"event_type","type":"string","required":true,"description":"Event type of the card. With `theme`, the response also carries `type` and `block`; other event types only save the card and do not create the single-page block","min_length":1},{"name":"origin_template_id","type":"string","required":true,"description":"Source template ID the new card derives from. The new card's own id is returned in the response","min_length":1},{"name":"title","type":"object","schema":"google.protobuf.Struct","description":"Block title as an i18n map, e.g. `{\"en-US\": \"...\", \"zh-CN\": \"...\"}`"},{"name":"action","type":"string","required":true,"description":"Save action: `save`, `save_as`, `update`","min_length":1},{"name":"category","type":"string","description":"Category, e.g. `image_with_text`"},{"name":"second_category","type":"string","description":"Second category, e.g. `Carousal`"},{"name":"image","type":"string","description":"Preview image filename"},{"name":"origin","type":"string","description":"Base template scope: `custom` or `global`. Empty looks up `custom` first, then `global`"},{"name":"ops","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"},"description":"Operations applied to the base template before saving. At least one op is required; an empty list is rejected with 400"},{"name":"oseid","type":"string","required":true,"description":"Edit session ID to insert the new card into","min_length":1},{"name":"doc_id","type":"string","required":true,"description":"Document (template file) ID for the session insert","min_length":1},{"name":"section_id","type":"string","required":true,"description":"Target section ID whose content is replaced with the new card","min_length":1},{"name":"theme_id","type":"string","required":true,"description":"Theme ID for the render context url of the session insert"},{"name":"template_name","type":"string","description":"Template name for the session insert; defaults to file location without `.liquid`"},{"name":"locale","type":"string","description":"Rendering locale for the session insert; defaults to en_US"}]},"response_schema":"v202601.SavePageBuilderBlockResponse"},{"id":"theme-pb-template-save","command_path":["pb","save-template"],"summary":"Save page-builder custom template","description":"Save a custom card template based on an existing template; `action` decides how it is saved.\nAll three actions produce a new template id, and `update` takes the original template down.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/page-builder/custom-templates","body":"*"},"body":{"required":true,"fields":[{"name":"action","type":"string","required":true,"description":"Action. All three create a new template; they differ in whether it is listed: - `save_as`: A new copy, listed - `update`: A new listed version; the template given by `template_id` is taken down - `save`: Saved but not shown in the template list","min_length":1},{"name":"template_id","type":"string","required":true,"description":"Source template id for `save_as` / the template to version up for `update`","min_length":1},{"name":"title","type":"object","schema":"google.protobuf.Struct","description":"Template title (i18n map). Optional; defaults to the source template's title"},{"name":"category","type":"string","description":"First-level category. Optional; defaults to source"},{"name":"second_category","type":"string","description":"Second-level category. Optional; defaults to source"},{"name":"image","type":"string","description":"Preview image filename. Optional; defaults to source"},{"name":"origin","type":"string","description":"Origin type: `custom`, `global`. Optional; defaults to source"}]},"response_schema":"v202601.SavePbTemplateResponse"},{"id":"theme-pb-summary","command_path":["pb","summary"],"summary":"Render template canvas snapshot","description":"Pass a template id or full canvas data, and get back a text snapshot of the canvas; each node\ncarries a `#path` number that can be used to target it in edit operations.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/page-builder/summary","body":"*"},"body":{"fields":[{"name":"schema","type":"object","schema":"google.protobuf.Struct","description":"Full canvas data (page-builder ProjectData); either `schema` or `id` (prefer `id`)"},{"name":"detail_level","type":"string","description":"Detail level: `minimal`, `tiered`, `verbose`. Defaults to `minimal`"},{"name":"detailed_node_ids","type":"array","items":{"type":"string"},"description":"Node paths to expand details for, e.g. `0.1.2`"},{"name":"id","type":"string","description":"Template id to summarize; the server loads its canvas data. Either `id` or `schema` — prefer `id` so the full canvas data stays out of the request"},{"name":"type","type":"string","description":"Template type when fetching by id: `custom` (default, custom card templates), `global` (public templates). Only honored with id; any other value is rejected. Same values as `origin` when saving a page-builder block"}]},"response_schema":"v202601.PbSummaryResponse"},{"id":"theme-pb-update","command_path":["pb","update"],"summary":"Preview page-builder canvas edits","description":"Apply edit operations (`ops`) to the given canvas data and return the edited canvas data, the\nrendered HTML, the canvas text snapshot, and translations. Nothing is saved.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/page-builder/update","body":"*"},"body":{"required":true,"fields":[{"name":"schema","type":"object","schema":"google.protobuf.Struct","required":true,"description":"Full canvas data (page-builder ProjectData)"},{"name":"ops","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"},"description":"Operations to apply; defaults to re-export"}]},"response_schema":"v202601.PbUpdateResponse"},{"id":"theme-publish","command_path":["publish"],"summary":"Publish theme","description":"Publish a specific theme using its unique identifier.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/themes/{theme_id}/publish"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"}],"response_schema":"v202506.PublishThemeResponse"},{"id":"theme-rename","command_path":["rename"],"summary":"Rename theme","description":"Change the display name of a theme in the current store.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/themes/{theme_id}/name","body":"*"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme id (uuid) to rename"}],"body":{"required":true,"fields":[{"name":"name","type":"string","required":true,"description":"New theme name","min_length":1}]},"response_schema":"v202601.RenameThemeResponse"},{"id":"theme-cards-list","command_path":["section","cards"],"summary":"List addable cards","description":"List all addable cards under the current theme across sources (`theme`, `pb`, `custom`,\n`extension`, `public`, `gen`), de-duplicated, ordered by source, and paginated.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/cards"},"parameters":[{"name":"theme_id","in":"query","type":"string","description":"Theme ID. Optional; only used by the `theme` source. Empty -> the theme source returns empty"},{"name":"source","in":"query","type":"array","items":{"type":"string"},"description":"Data source filter. Multi-value (repeat the param `source=pb&source=public`, or comma-join `source=pb,public`); empty aggregates every source: - `theme`: cards bundled with the theme - `pb`: page-builder cards from public templates - `custom`: page-builder cards from the merchant's custom card templates - `extension`: app extension cards - `public`: public cards - `gen`: AI cards"},{"name":"category","in":"query","type":"string","description":"Primary category filter. Only applies to the pb source"},{"name":"second_category","in":"query","type":"string","description":"Secondary category filter. Only applies to the pb source"},{"name":"limit","in":"query","type":"integer","format":"int32","description":"Page size, defaults to 10, range 1-100"},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number"},{"name":"template","in":"query","type":"string","description":"Template filter. Template name (`index`, `product`, `collection`, `cart`, `page`, `search`, or a custom template name)"}],"response_schema":"v202601.ListThemeCardsResponse"},{"id":"theme-section-card-detail","command_path":["section","get"],"summary":"Get card details","description":"Render the specified card with its current config and return the rendered HTML, the card\nconfig, and its configuration definitions, without changing any data. Global cards such as the\nheader and footer are also supported.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/files/{doc_id}/sections/{section_id}"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"doc_id","in":"path","type":"string","required":true,"description":"Document (template file) ID","min_length":1},{"name":"section_id","in":"path","type":"string","required":true,"description":"Section (card) ID to render","min_length":1},{"name":"template_name","in":"query","type":"string","description":"Optional current page template name; scopes supported data source types"}],"response_schema":"v202601.GetSectionCardResponse"},{"id":"theme-section-cards-list","command_path":["section","list"],"summary":"List cards added to a template","description":"List all cards added to a template within an edit session, including global card groups such\nas the header and footer.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/files/{doc_id}/sections"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"doc_id","in":"path","type":"string","required":true,"description":"Document (template file) ID","min_length":1},{"name":"template_name","in":"query","type":"string","description":"Optional current page template name; scopes supported data source types"}],"response_schema":"v202601.ListSectionCardsResponse"},{"id":"theme-section-remove","command_path":["section","remove"],"summary":"Remove card from page","description":"Remove a card from the page within an edit session.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/sections/{section_id}","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"section_id","in":"path","type":"string","required":true,"description":"Section instance ID to remove. Page-flow mode (`area` omitted) requires the numeric instance id from `content_for_page`; with `area` set, pass the area member's stored id","min_length":1}],"body":{"required":true,"fields":[{"name":"doc_id","type":"string","required":true,"description":"Document (template file) ID","min_length":1},{"name":"area","type":"string","description":"Target area: omit = the page flow; `header`, `footer` = remove from the header/footer area group (section-group themes only)"}]},"response_schema":"v202601.RemoveSectionResponse"},{"id":"theme-section-set-props","command_path":["section","set-props"],"summary":"Set card properties","description":"Set/merge properties into a card's settings within an edit session.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/sections/{section_id}/props","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"section_id","in":"path","type":"string","required":true,"description":"Section instance ID inside the document; a global card id (`header`, `footer`, `announcement`, `cart_drawer`) also works","min_length":1}],"body":{"required":true,"fields":[{"name":"doc_id","type":"string","required":true,"description":"Document (template file) ID the section lives in","min_length":1},{"name":"theme_id","type":"string","required":true,"description":"Theme ID (used to build the rendering context url)"},{"name":"props","type":"object","schema":"google.protobuf.Struct","required":true,"description":"Key→value properties to set/merge into the section's settings"},{"name":"template_name","type":"string","description":"Template name, e.g. index. Defaults to the file location without `.liquid`"},{"name":"locale","type":"string","description":"Rendering locale; defaults to en_US"}]},"response_schema":"v202601.SetSectionPropsResponse"},{"id":"theme-edit-session-batch-operations","command_path":["session","batch-ops"],"summary":"Batch edit operations","description":"Execute multiple edit operations in one request; each operation runs and is saved\nindependently, and a failure on one does not stop the others.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/files/{doc_id}/operations","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"doc_id","in":"path","type":"string","required":true,"description":"Document ID of the file within the session","min_length":1}],"body":{"required":true,"fields":[{"name":"operations","type":"array","items":{"type":"object","schema":"v202601.ThemeOperation"},"required":true,"description":"Ordered list of theme operations executed in one batch. Each op is applied and persisted independently, and a failure on one does not stop the others. See `ThemeOperation`.","min_length":1}]},"response_schema":"v202601.BatchThemeOperationsResponse"},{"id":"theme-edit-session-card-list","command_path":["session","card-list"],"summary":"List edit-session card library","description":"List the cards available in the theme: regular cards (`card_list`, `block_list`) come from the\npublished version; AI cards are listed separately in `gen_list`, including ones created in this\nsession that are not yet placed or saved, each carrying `saved` to indicate whether it has been\nsaved to the draft.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/card-list"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"need_schema","in":"query","type":"integer","format":"int32","description":"Pass 1 to additionally return `schema` and `settings` on section cards"}],"response_schema":"v202601.ListEditSessionCardsResponse"},{"id":"theme-edit-session-conflict","command_path":["session","check"],"summary":"Check edit session conflict","description":"Check whether the draft has been changed by another session since this edit session started.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/conflict"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1}],"response_schema":"v202601.CheckEditSessionResponse"},{"id":"theme-edit-session-create","command_path":["session","create"],"summary":"Create theme edit session","description":"Open a temporary edit session (oseid) for the specified theme.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/{theme_id}/edit-sessions"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme ID to open an edit session for"}],"response_schema":"v202601.CreateEditSessionResponse"},{"id":"theme-global-config","command_path":["session","get-config"],"summary":"Get theme global config","description":"Get the current values of the theme settings within an edit session, plus the configuration\ndefinitions of each primary category.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/files/{doc_id}/global"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"doc_id","in":"path","type":"string","required":true,"description":"Document (template file) ID","min_length":1},{"name":"name","in":"query","type":"string","description":"Optional case-insensitive primary-category name filter; empty = all"}],"response_schema":"v202601.GetThemeGlobalConfigResponse"},{"id":"theme-edit-session-file-get","command_path":["session","get-file"],"summary":"Get edit session file","description":"Read a single file within a theme edit session.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/files/{doc_id}"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"doc_id","in":"path","type":"string","required":true,"description":"Document ID of the file within the session","min_length":1}],"response_schema":"v202601.GetEditSessionFileResponse"},{"id":"theme-edit-session-promote","command_path":["session","promote"],"summary":"Save edit session as draft","description":"Save an edit session as the draft.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/promote","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1}],"body":{"fields":[{"name":"force","type":"boolean","description":"Force overwrite even if there is a conflict"}]},"response_schema":"v202601.PromoteEditSessionResponse"},{"id":"theme-global-config-update","command_path":["session","update-config"],"summary":"Update theme global config","description":"Partially update the theme's global config within an edit session: pass only the settings to\nchange (one or many). Updates the theme settings by default; pass `section_id` to update a\nglobal card such as the header, footer, announcement bar, or cart drawer.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/files/{doc_id}/global","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"doc_id","in":"path","type":"string","required":true,"description":"Document (template file) ID","min_length":1}],"body":{"required":true,"fields":[{"name":"settings","type":"object","schema":"google.protobuf.Struct","required":true,"description":"Settings to change — partial, one or many key/value pairs; other settings stay untouched"},{"name":"section_id","type":"string","description":"Target: omit or `skin` = global variables; otherwise a global section's type or stored id — the global singletons (`header`, `footer`, `announcement`, `cart_drawer`) or any member of the header / footer regions. An id that is not in the session returns 400"},{"name":"template_name","type":"string","description":"Render-context template name, default `index`"},{"name":"locale","type":"string","description":"Render locale, default `en_US`"}]},"response_schema":"v202601.UpdateThemeGlobalConfigResponse"},{"id":"theme-edit-session-file-update","command_path":["session","update-file"],"summary":"Update edit session file","description":"Overwrite a template file in the edit session with the given card configs; cards missing from\nthe list are removed. For partial changes, use Batch edit operations.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/themes/edit-sessions/{oseid}/files/{doc_id}","body":"*"},"parameters":[{"name":"oseid","in":"path","type":"string","required":true,"description":"Edit session ID","min_length":1},{"name":"doc_id","in":"path","type":"string","required":true,"description":"Document ID of the file within the session","min_length":1}],"body":{"fields":[{"name":"config","type":"array","items":{"type":"object","schema":"v202601.EditSessionConfigItem"},"description":"The file's complete, ordered list of section configs. This is a whole-file write: the list REPLACES the file's current sections and any section omitted here is removed. Array order is the on-page render order. For incremental edits use the batch-operations endpoint"},{"name":"global_config","type":"object","schema":"v202601.EditSessionGlobalConfig","description":"Global config"},{"name":"layout","type":"string","description":"Layout name, e.g. theme"}]},"response_schema":"v202601.UpdateEditSessionFileResponse"},{"id":"theme-task","command_path":["task"],"summary":"Get theme task","description":"Get the status and details of a theme background task, such as a theme upload or upgrade.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/task/{task_id}"},"parameters":[{"name":"task_id","in":"path","type":"string","required":true,"description":"Task ID"}],"response_schema":"v202506.GetThemeTaskResponse"},{"id":"theme-templates-create","command_path":["template","create"],"summary":"Create theme custom template","description":"Create a custom template and bind it to objects (products, collections) in one call; with empty\n`relations` the template is created without bindings.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/{theme_id}/theme-templates","body":"*"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme ID this template belongs to"}],"body":{"required":true,"fields":[{"name":"type","type":"string","required":true,"description":"Template type. One of `product`, `collection`, `product_coll`, `page`","min_length":1},{"name":"title","type":"string","required":true,"description":"Template display name","min_length":1},{"name":"relations","type":"array","items":{"type":"string"},"description":"Bound object IDs (products / collections). Empty = create without binding"},{"name":"from","type":"string","description":"Source template suffix to copy from, e.g. default"},{"name":"oseid","type":"string","description":"Edit session ID the creation is performed within"},{"name":"selected_all","type":"integer","format":"int32","description":"Bind every object matching `front_query_params` instead of listing them in `relations`: 0 = no (default), 1 = yes. When 1, the object set comes from `front_query_params`"},{"name":"front_query_params","type":"object","schema":"v202601.CreateThemeTemplateFrontQueryParams","description":"Filter that defines the object set when `selected_all` = 1; ignored otherwise"}]},"response_schema":"v202601.CreateThemeTemplateResponse"},{"id":"theme-templates-delete","command_path":["template","delete"],"summary":"Delete theme custom template","description":"Delete a custom template within the specified theme.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/themes/{theme_id}/theme-templates/{template_id}"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme ID this template belongs to"},{"name":"template_id","in":"path","type":"string","required":true,"description":"Template ID to delete","min_length":1}],"response_schema":"v202601.DeleteThemeTemplateResponse"},{"id":"theme-templates-list","command_path":["template","list"],"summary":"List theme custom templates","description":"List the custom templates bound to products, collections, or custom pages.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/{theme_id}/theme-templates"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme ID"},{"name":"type","in":"query","type":"string","description":"Optional filter by template type: `product`, `collection`, `product_coll`, `page`. Empty returns all types"},{"name":"page","in":"query","type":"integer","format":"int32","description":"Optional page number for pagination (default: 1)"},{"name":"per_page","in":"query","type":"integer","format":"int32","description":"Optional page size for pagination (default: 100)"}],"response_schema":"v202601.ListThemeTemplateResponse"},{"id":"theme-templates-update","command_path":["template","update"],"summary":"Update theme custom template","description":"Update the bindings (products, collections) of an existing template. `relations` replaces the\ncurrent bindings as a whole; an empty array or omitting it removes all bindings.","hidden":false,"http":{"method":"PATCH","path":"/openapi/2026-01/themes/{theme_id}/theme-templates/{template_id}","body":"*"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme ID this template belongs to"},{"name":"template_id","in":"path","type":"string","required":true,"description":"Theme template ID to update","min_length":1}],"body":{"required":true,"fields":[{"name":"type","type":"string","required":true,"description":"Template type. One of `product`, `collection`, `product_coll`, `page`","min_length":1},{"name":"relations","type":"array","items":{"type":"string"},"description":"The template's full binding list (product / collection IDs). It REPLACES the current bindings rather than being merged into them. An empty array — or omitting the field entirely — unbinds everything, so always resend the full list when you only mean to keep it"},{"name":"selected_all","type":"integer","format":"int32","description":"Bind every object matching `front_query_params` instead of listing them in `relations`: 0 = no (default), 1 = yes. When 1, the object set comes from `front_query_params`"},{"name":"front_query_params","type":"object","schema":"v202601.UpdateThemeTemplateFrontQueryParams","description":"Filter that defines the object set when `selected_all` = 1; ignored otherwise"}]},"response_schema":"v202601.UpdateThemeTemplateResponse"},{"id":"theme-upgrade","command_path":["upgrade"],"summary":"Upgrade theme","description":"Create a new theme upgraded to the latest version from the specified theme, carrying over its\nconfiguration; the original theme is left unchanged. Returns the new theme ID.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/themes/{theme_id}/upgrade","body":"*"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"The ID of the theme to upgrade"}],"body":{"fields":[{"name":"name","type":"string","description":"Optional new name for the upgraded theme. Leave empty to keep the current name"}]},"response_schema":"v202506.UpgradeThemeResponse"},{"id":"theme-doc-version-detail","command_path":["version","get"],"summary":"Get theme file version","description":"Retrieves a specific version of a theme file by its version ID.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/{theme_id}/doc/versions/{version_id}"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"},{"name":"version_id","in":"path","type":"string","required":true,"description":"Version's unique identifier"}],"response_schema":"v202506.GetThemeFileVersionResponse"},{"id":"theme-doc-versions","command_path":["version","list"],"summary":"List versions of a theme file","description":"Returns the version history for a single theme file.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/{theme_id}/doc/versions"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"},{"name":"type","in":"query","type":"string","description":"The type of file to list versions for: `layout`, `templates`, `sections`, `snippets`, `assets`, `config`, `locales` (`blocks` is not supported here). Defaults to `layout`","default":"layout","min_length":1},{"name":"location","in":"query","type":"string","description":"The location of the file within the theme. Defaults to theme.liquid","default":"theme.liquid","min_length":1}],"response_schema":"v202506.GetThemeFileVersionListResponse"},{"id":"theme-doc-version","command_path":["version","records"],"summary":"List versions of all theme files","description":"Returns the version history for all files in the specified theme.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/themes/{theme_id}/doc/version-records"},"parameters":[{"name":"theme_id","in":"path","type":"string","required":true,"description":"Theme's unique identifier"}],"response_schema":"v202506.GetThemeAllFileVersionListResponse"}]},{"name":"webhook","commands":[{"id":"webhook-count","command_path":["count"],"summary":"Count webhooks","description":"Count webhooks with a unique identifier, notification URL, event name, and format.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/webhooks/count"},"parameters":[{"name":"address","in":"query","type":"string","description":"Webhook notification URL, e.g. https://example.com/webhook"},{"name":"topic","in":"query","type":"string","description":"The event name, e.g. orders/cancelled,orders/create"}],"response_schema":"v202506.CountWebhookResponse"},{"id":"webhook-create","command_path":["create"],"summary":"Create a webhook","description":"Create a webhook with a unique identifier, notification URL, event name, and format.","hidden":false,"http":{"method":"POST","path":"/openapi/2026-01/webhooks","body":"*"},"body":{"required":true,"fields":[{"name":"webhook","type":"object","schema":"v202506.CreateWebhookParam","required":true,"description":"Webhook"}]},"response_schema":"v202506.CreateWebhookResponse"},{"id":"webhook-delete","command_path":["delete"],"summary":"Delete a webhook","description":"Delete a webhook with a unique identifier.","hidden":false,"http":{"method":"DELETE","path":"/openapi/2026-01/webhooks/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Webhook ID"}],"response_schema":"v202506.DeleteWebhookResponse"},{"id":"webhook-detail","command_path":["get"],"summary":"Get a webhook","description":"Get a webhook with a unique identifier.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/webhooks/{id}"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Webhook ID"}],"response_schema":"v202506.GetWebhookResponse"},{"id":"webhooks","command_path":["list"],"summary":"List webhooks","description":"List webhooks with a unique identifier, notification URL, event name, and format.","hidden":false,"http":{"method":"GET","path":"/openapi/2026-01/webhooks"},"parameters":[{"name":"address","in":"query","type":"string","description":"Webhook notification URL, e.g. https://example.com/webhook"},{"name":"topic","in":"query","type":"string","description":"The event name, e.g. orders/cancelled,orders/create"},{"name":"created_at_min","in":"query","type":"string","description":"Filter webhook records created at after date, e.g. 2018-08-26T06:19:53Z"},{"name":"created_at_max","in":"query","type":"string","description":"Filter webhook records created at before date, e.g. 2018-08-26T06:19:53Z"},{"name":"updated_at_min","in":"query","type":"string","description":"Filter webhook records updated at after date, e.g. 2018-08-26T06:19:53Z"},{"name":"updated_at_max","in":"query","type":"string","description":"Filter webhook records updated at before date, e.g. 2018-08-26T06:19:53Z"},{"name":"page_size","in":"query","type":"integer","format":"int32","description":"Number of records to retrieve"},{"name":"page","in":"query","type":"integer","format":"int32","description":"Page number (1-based). Mutually exclusive with cursor"},{"name":"cursor","in":"query","type":"string","description":"Page cursor, used to retrieve the next page of records"}],"response_schema":"v202506.ListWebhookResponse"},{"id":"webhook-update","command_path":["update"],"summary":"Update a webhook","description":"Update a webhook with a unique identifier, notification URL, event name, and format.","hidden":false,"http":{"method":"PUT","path":"/openapi/2026-01/webhooks/{id}","body":"*"},"parameters":[{"name":"id","in":"path","type":"string","required":true,"description":"Webhook ID"}],"body":{"required":true,"fields":[{"name":"webhook","type":"object","schema":"v202506.UpdateWebhookParam","required":true,"description":"Webhook"}]},"response_schema":"v202506.UpdateWebhookResponse"}]}],"schemas":{"google.protobuf.Any":{"fields":[{"name":"type_url","type":"string"},{"name":"value","type":"string","format":"byte"}]},"google.protobuf.ListValue":{"fields":[{"name":"values","type":"array","items":{"type":"object","schema":"google.protobuf.Value"}}]},"google.protobuf.Struct":{"fields":[{"name":"fields","type":"object","items":{"type":"object","schema":"google.protobuf.Value"}}]},"google.protobuf.Value":{"fields":[{"name":"null_value","type":"string","enum":["NULL_VALUE"]},{"name":"number_value","type":"number","format":"double"},{"name":"string_value","type":"string"},{"name":"bool_value","type":"boolean"},{"name":"struct_value","type":"object","schema":"google.protobuf.Struct"},{"name":"list_value","type":"object","schema":"google.protobuf.ListValue"}]},"v202506.AdditionItem":{"fields":[{"name":"name","type":"string"},{"name":"val","type":"string"}]},"v202506.AdditionalPrice":{"fields":[{"name":"name","type":"string"},{"name":"price","type":"string"},{"name":"biz_id","type":"string"},{"name":"fee_title","type":"string"}]},"v202506.AppChargeTransaction":{"fields":[{"name":"id","type":"string"},{"name":"store_id","type":"string"},{"name":"charge_id","type":"string"},{"name":"charge_type","type":"string"},{"name":"price","type":"number","format":"float"},{"name":"usage_price","type":"number","format":"float"},{"name":"file_url","type":"string"},{"name":"status","type":"string"},{"name":"paid_at","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"application_id","type":"string"},{"name":"bill_id","type":"string"},{"name":"commission_price","type":"number","format":"float"},{"name":"commission_rate","type":"number","format":"float"},{"name":"pay_channel","type":"string"},{"name":"payment_serial_number","type":"string"},{"name":"test","type":"boolean"}]},"v202506.ApplicationChargeTransaction":{"fields":[{"name":"id","type":"string"},{"name":"charge_id","type":"string"},{"name":"price","type":"string"},{"name":"usage_price","type":"string"},{"name":"status","type":"string"},{"name":"paid_at","type":"string"}]},"v202506.Article":{"fields":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"excerpt","type":"string"},{"name":"content","type":"string"},{"name":"image","type":"object","schema":"v202506.ArticleImage"},{"name":"published","type":"boolean"},{"name":"handle","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"author","type":"string"},{"name":"published_at","type":"string"},{"name":"blog_ids","type":"array","items":{"type":"string"}},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.ArticleImage":{"fields":[{"name":"src","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"path","type":"string"}]},"v202506.ArticleImageParam":{"fields":[{"name":"src","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"}]},"v202506.AvailableShippingLine":{"fields":[{"name":"delivery_method","type":"integer","format":"int32"},{"name":"desc","type":"string"},{"name":"id","type":"string"},{"name":"location_id","type":"string"},{"name":"name","type":"string"},{"name":"plan_code","type":"string"},{"name":"shipping_price","type":"string"},{"name":"support_cod","type":"integer","format":"int32"}]},"v202506.BatchCreateCollectResponse":{},"v202506.BatchCreateCommentError":{"fields":[{"name":"product_id","type":"string"},{"name":"user_name","type":"string"},{"name":"star","type":"integer","format":"int32"},{"name":"like","type":"integer","format":"int32"},{"name":"created_at","type":"string"},{"name":"content","type":"string"},{"name":"country","type":"string"},{"name":"images","type":"array","items":{"type":"string"}},{"name":"product_published","type":"integer","format":"int32"},{"name":"error_message","type":"string"}]},"v202506.BatchCreateCommentsResponse":{"fields":[{"name":"success_count","type":"integer","format":"int32"},{"name":"error_count","type":"integer","format":"int32"},{"name":"error_infos","type":"array","items":{"type":"object","schema":"v202506.BatchCreateCommentError"}}]},"v202506.BatchCreateGiftCard":{"fields":[{"name":"id","type":"string"},{"name":"last_characters","type":"string"},{"name":"balance","type":"string"},{"name":"initial_value","type":"string"},{"name":"note","type":"string"},{"name":"expires_on","type":"string"},{"name":"disabled_at","type":"string"},{"name":"currency","type":"string"},{"name":"line_item_id","type":"string"},{"name":"order_id","type":"string"},{"name":"user_id","type":"string"},{"name":"template_suffix","type":"string"},{"name":"customer_id","type":"string"},{"name":"code","type":"string"}]},"v202506.BatchCreateGiftCardParam":{"fields":[{"name":"code","type":"string","required":true,"min_length":8,"max_length":20},{"name":"initial_value","type":"string","required":true,"min_length":1},{"name":"expires_on","type":"string"},{"name":"note","type":"string"},{"name":"customer_id","type":"string"},{"name":"template_suffix","type":"string"},{"name":"send_email","type":"boolean"},{"name":"currency","type":"string","required":true,"min_length":1},{"name":"balance","type":"string"}]},"v202506.BatchCreateGiftCardResponse":{"fields":[{"name":"success_gift_cards","type":"array","items":{"type":"object","schema":"v202506.BatchCreateGiftCard"}},{"name":"failed_gift_cards","type":"array","items":{"type":"object","schema":"v202506.BatchCreateGiftCard"}}]},"v202506.BatchCreateProcurementItemResponse":{"fields":[{"name":"fail_items","type":"array","items":{"type":"object","schema":"v202506.CreateProcurementItemData"}}]},"v202506.BatchDeleteCustomPagesResponse":{},"v202506.BatchDeleteProcurementItemResponse":{},"v202506.BatchGetCustomPagesResponse":{"fields":[{"name":"pages","type":"array","items":{"type":"object","schema":"v202506.CustomPage"}}]},"v202506.BatchUpdateProcurementItemResponse":{},"v202506.Blog":{"fields":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"handle","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.CancelOrderResponse":{"fields":[{"name":"order","type":"object","schema":"v202506.Order"}]},"v202506.CancelProcurementResponse":{"fields":[{"name":"Procurement","type":"object","schema":"v202506.Procurement"}]},"v202506.CancelRecurringApplicationChargeResponse":{},"v202506.CarrierService":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"active","type":"boolean"},{"name":"callback_url","type":"string"},{"name":"scopes","type":"string"},{"name":"carrier_service_code","type":"string"},{"name":"logo","type":"string"},{"name":"short_desc","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.Category":{"fields":[{"name":"id","type":"integer","format":"uint64"},{"name":"name","type":"string"},{"name":"google_id","type":"integer","format":"int64"},{"name":"level","type":"integer","format":"int32"},{"name":"path","type":"string"}]},"v202506.CategoryParam":{"fields":[{"name":"id","type":"integer","format":"uint64"},{"name":"name","type":"string"},{"name":"pid","type":"integer","format":"uint64"},{"name":"level","type":"integer","format":"int32"},{"name":"position","type":"integer","format":"int32"},{"name":"path","type":"string"},{"name":"google_id","type":"integer","format":"int32"}]},"v202506.ChangeDefaultLocationResponse":{},"v202506.Collect":{"fields":[{"name":"id","type":"string"},{"name":"collection_id","type":"string"},{"name":"product_id","type":"string"},{"name":"position","type":"integer","format":"int64"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.Comment":{"fields":[{"name":"id","type":"integer","format":"int32"},{"name":"store_id","type":"integer","format":"int32"},{"name":"user_name","type":"string"},{"name":"email","type":"string"},{"name":"star","type":"string"},{"name":"like","type":"integer","format":"int32"},{"name":"content","type":"string"},{"name":"images","type":"array","items":{"type":"string"}},{"name":"status","type":"integer","format":"int32"},{"name":"type","type":"integer","format":"int32"},{"name":"product_id","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"country","type":"string"},{"name":"is_featured","type":"integer","format":"int32"},{"name":"is_verified","type":"integer","format":"int32"},{"name":"client_id","type":"string"},{"name":"anonymous","type":"integer","format":"int32"},{"name":"product_published","type":"integer","format":"int32"}]},"v202506.Config":{"fields":[{"name":"page_type","type":"string"},{"name":"requires_shipping","type":"boolean"},{"name":"product_tax_included","type":"boolean"},{"name":"market_setting","type":"object","schema":"v202506.MarketSetting"}]},"v202506.CountLocationResponse":{"fields":[{"name":"count","type":"integer","format":"int64"}]},"v202506.CountProductsResponse":{"fields":[{"name":"count","type":"integer","format":"int64"}]},"v202506.CountVariantResponse":{"fields":[{"name":"count","type":"integer","format":"int64"}]},"v202506.CountWebhookResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.CreateAddressParam":{"fields":[{"name":"country","type":"string","required":true,"min_length":1},{"name":"country_code","type":"string","required":true,"min_length":1},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"address1","type":"string"},{"name":"address2","type":"string"},{"name":"area","type":"string"},{"name":"city","type":"string"},{"name":"province","type":"string"},{"name":"province_code","type":"string"},{"name":"company","type":"string"},{"name":"phone","type":"string"},{"name":"phone_area_code","type":"string"},{"name":"zip","type":"string"},{"name":"gender","type":"string"},{"name":"email","type":"string"},{"name":"default","type":"boolean"}]},"v202506.CreateAddressResponse":{"fields":[{"name":"address","type":"object","schema":"v202506.CustomerAddress"}]},"v202506.CreateApplicationChargeParam":{"fields":[{"name":"name","type":"string","required":true,"min_length":1},{"name":"price","type":"string","required":true,"min_length":1},{"name":"return_url","type":"string","required":true,"min_length":1},{"name":"test","type":"boolean"}]},"v202506.CreateArticleParam":{"fields":[{"name":"title","type":"string","required":true,"min_length":1,"max_length":100},{"name":"excerpt","type":"string","max_length":255},{"name":"content","type":"string"},{"name":"published","type":"boolean"},{"name":"published_at","type":"string"},{"name":"handle","type":"string"},{"name":"author","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"blog_ids","type":"array","items":{"type":"string"}},{"name":"image","type":"object","schema":"v202506.ArticleImageParam"}]},"v202506.CreateArticleResponse":{"fields":[{"name":"article","type":"object","schema":"v202506.Article"}]},"v202506.CreateBlogParam":{"fields":[{"name":"Title","type":"string","required":true,"min_length":1,"max_length":100},{"name":"handle","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}}]},"v202506.CreateBlogResponse":{"fields":[{"name":"blog","type":"object","schema":"v202506.Blog"}]},"v202506.CreateCarrierServiceParam":{"fields":[{"name":"name","type":"string","required":true,"min_length":1},{"name":"callback_url","type":"string","required":true,"min_length":1},{"name":"carrier_code","type":"string","required":true,"min_length":1},{"name":"active","type":"boolean"},{"name":"logo","type":"string"},{"name":"short_desc","type":"string"}]},"v202506.CreateCarrierServiceResponse":{"fields":[{"name":"carrier_service","type":"object","schema":"v202506.CarrierService"}]},"v202506.CreateCollectParam":{"fields":[{"name":"collection_id","type":"string","required":true,"min_length":1},{"name":"product_id","type":"string","required":true}]},"v202506.CreateCollectResponse":{"fields":[{"name":"collect","type":"object","schema":"v202506.Collect"}]},"v202506.CreateCommentParam":{"fields":[{"name":"product_id","type":"string","required":true},{"name":"user_name","type":"string","required":true,"min_length":1},{"name":"star","type":"integer","format":"int32","required":true,"minimum":1,"maximum":5},{"name":"like","type":"integer","format":"int32","required":true,"minimum":0},{"name":"created_at","type":"string","required":true,"min_length":1},{"name":"content","type":"string","required":true,"min_length":1},{"name":"country","type":"string"},{"name":"images","type":"array","items":{"type":"string"}}]},"v202506.CreateCommentResponse":{"fields":[{"name":"comment","type":"object","schema":"v202506.Comment"}]},"v202506.CreateCustomPageParam":{"fields":[{"name":"title","type":"string","required":true,"min_length":1},{"name":"content","type":"string"},{"name":"url","type":"string"},{"name":"meta_title","type":"string"},{"name":"meta_keywords","type":"array","items":{"type":"string"}},{"name":"meta_description","type":"string"},{"name":"independent_seo","type":"boolean"}]},"v202506.CreateCustomPageResponse":{"fields":[{"name":"page","type":"object","schema":"v202506.CustomPage"}]},"v202506.CreateCustomerParam":{"fields":[{"name":"contact_type","type":"string","required":true,"min_length":1},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"password","type":"string","min_length":6},{"name":"password_confirmation","type":"string"},{"name":"tags","type":"array","items":{"type":"string"}},{"name":"registered_at","type":"string"},{"name":"addresses","type":"array","items":{"type":"object","schema":"v202506.CreateAddressParam"}},{"name":"email","type":"string"},{"name":"phone","type":"string"},{"name":"accepts_marketing","type":"boolean","default":true},{"name":"accepts_sms_marketing","type":"boolean","default":true}]},"v202506.CreateCustomerResponse":{"fields":[{"name":"customer","type":"object","schema":"v202506.Customer"}]},"v202506.CreateFulfillmentParam":{"fields":[{"name":"line_items","type":"array","items":{"type":"object","schema":"v202506.FulfillmentLineItemParam"},"required":true,"min_length":1},{"name":"tracking_number","type":"string"},{"name":"tracking_company","type":"string"},{"name":"tracking_company_code","type":"string"},{"name":"tracking_url","type":"string"},{"name":"phone_number","type":"string"}]},"v202506.CreateGiftCardParam":{"fields":[{"name":"code","type":"string","required":true,"min_length":8,"max_length":20},{"name":"initial_value","type":"string","required":true,"min_length":1},{"name":"expires_on","type":"string"},{"name":"note","type":"string"},{"name":"customer_id","type":"string"},{"name":"template_suffix","type":"string"},{"name":"send_email","type":"boolean"},{"name":"currency","type":"string"}]},"v202506.CreateGiftCardResponse":{"fields":[{"name":"gift_card","type":"object","schema":"v202506.GiftCard"}]},"v202506.CreateInventoryLevelResponse":{"fields":[{"name":"inventory_level","type":"object","schema":"v202506.InventoryLevel"}]},"v202506.CreateMetafieldDefinitionResponse":{"fields":[{"name":"metafield_definition","type":"object","schema":"v202506.MetafieldDefinition"}]},"v202506.CreateMetafieldResponse":{"fields":[{"name":"metafield","type":"object","schema":"v202506.ResourceMetafield"}]},"v202506.CreateOneTimeApplicationChargeResponse":{"fields":[{"name":"application_charge","type":"object","schema":"v202506.OneTimeApplicationCharge"}]},"v202506.CreateOrderRefundRecordParam":{"fields":[{"name":"refund_total","type":"string","required":true,"min_length":1},{"name":"refund_shipping_total","type":"string"},{"name":"refund_tip","type":"string"},{"name":"refund_additional_total","type":"string"},{"name":"refund_product_total","type":"string"},{"name":"refund_line_items","type":"array","items":{"type":"object","schema":"v202506.CreateRefundRecordLineItemParam"}},{"name":"refund_payments","type":"array","items":{"type":"object","schema":"v202506.CreateRefundRecordPaymentParam"}},{"name":"refund_additional_prices","type":"array","items":{"type":"object","schema":"v202506.CreateRefundRecordAdditionalPriceParam"}},{"name":"note","type":"string"}]},"v202506.CreateOrderRefundRecordResponse":{"fields":[{"name":"refund_record_id","type":"string"},{"name":"post_sale_id","type":"string"}]},"v202506.CreateOrderRiskParam":{"fields":[{"name":"level","type":"string","required":true,"min_length":1},{"name":"details","type":"array","items":{"type":"string"},"min_length":1},{"name":"properties","type":"object","items":{"type":"string"}}]},"v202506.CreateOrderRiskResponse":{"fields":[{"name":"risk","type":"object","schema":"v202506.OrderRisk"}]},"v202506.CreateProcurementItemData":{"fields":[{"name":"product_id","type":"string"},{"name":"variant_id","type":"string"},{"name":"transfer_quantity","type":"integer","format":"int32"}]},"v202506.CreateProcurementItemParam":{"fields":[{"name":"product_id","type":"string","required":true},{"name":"variant_id","type":"string","required":true},{"name":"transfer_quantity","type":"integer","format":"int32","required":true,"minimum":0}]},"v202506.CreateProcurementParam":{"fields":[{"name":"supplier_id","type":"string","required":true,"min_length":1},{"name":"note","type":"string"}]},"v202506.CreateProcurementResponse":{"fields":[{"name":"Procurement","type":"object","schema":"v202506.Procurement"}]},"v202506.CreateProductImage":{"fields":[{"name":"src","type":"string","required":true,"min_length":1},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"},{"name":"path","type":"string"}]},"v202506.CreateProductImageParam":{"fields":[{"name":"src","type":"string","required":true,"min_length":1},{"name":"alt","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"position","type":"integer","format":"int32"}]},"v202506.CreateProductImageResponse":{"fields":[{"name":"image","type":"object","schema":"v202506.ProductImage"}]},"v202506.CreateProductResponse":{"fields":[{"name":"product","type":"object","schema":"v202506.ProductRes"}]},"v202506.CreateProductVariantParam":{"fields":[{"name":"option1","type":"string"},{"name":"option2","type":"string"},{"name":"option3","type":"string"},{"name":"image","type":"object","schema":"v202506.CreateProductImage"},{"name":"compare_at_price","type":"number","format":"double"},{"name":"price","type":"number","format":"double","required":true,"minimum":0},{"name":"sku","type":"string"},{"name":"barcode","type":"string"},{"name":"note","type":"string"},{"name":"inventory_quantity","type":"integer","format":"int64"},{"name":"weight","type":"number","format":"double"},{"name":"weight_unit","type":"string"},{"name":"cost_price","type":"number","format":"double"},{"name":"wholesale_price","type":"array","items":{"type":"object","schema":"v202506.WholePrice"}},{"name":"whole_prices","type":"array","items":{"type":"object","schema":"v202506.WholePrice"}},{"name":"retail_price","type":"number","format":"double"},{"name":"position","type":"integer","format":"int64"},{"name":"extend","type":"object","schema":"v202506.VariantExtend"}]},"v202506.CreateRecurringApplicationChargeParam":{"fields":[{"name":"name","type":"string","required":true,"min_length":1},{"name":"price","type":"number","format":"float","required":true,"minimum":0},{"name":"return_url","type":"string","required":true,"min_length":1},{"name":"trial_days","type":"integer","format":"int32"},{"name":"capped_amount","type":"string"},{"name":"terms","type":"string"},{"name":"test","type":"boolean"},{"name":"charge_interval_days","type":"integer","format":"int32","minimum":1,"maximum":365}]},"v202506.CreateRecurringApplicationChargeResponse":{"fields":[{"name":"recurring_application_charge","type":"object","schema":"v202506.RecurringApplicationCharge"}]},"v202506.CreateRefundRecordAdditionalPriceParam":{"fields":[{"name":"name","type":"string","required":true,"min_length":1},{"name":"price","type":"string","required":true,"min_length":1}]},"v202506.CreateRefundRecordLineItemParam":{"fields":[{"name":"line_item_id","type":"string","required":true,"min_length":1},{"name":"refund_item_type","type":"string","enum":["auto","shipped","waiting_ship"]},{"name":"quantity","type":"integer","format":"int32"},{"name":"return_inventory","type":"boolean"}]},"v202506.CreateRefundRecordPaymentParam":{"fields":[{"name":"payment_line_id","type":"string","required":true,"min_length":1},{"name":"refund_price","type":"string","required":true,"min_length":1}]},"v202506.CreateShippingAreaParam":{"fields":[{"name":"country_name","type":"string","required":true,"min_length":1},{"name":"country_code","type":"string","required":true,"min_length":1},{"name":"province_codes","type":"array","items":{"type":"string"},"min_length":1}]},"v202506.CreateShippingParam":{"fields":[{"name":"schema_id","type":"string","required":true,"min_length":1},{"name":"name","type":"string","required":true,"min_length":1},{"name":"support_cod","type":"integer","format":"int32"},{"name":"plans","type":"array","items":{"type":"object","schema":"v202506.CreateShippingPlanParam"},"min_length":1},{"name":"areas","type":"array","items":{"type":"object","schema":"v202506.CreateShippingAreaParam"},"min_length":1}]},"v202506.CreateShippingPlanParam":{"fields":[{"name":"name","type":"string","required":true,"min_length":1},{"name":"desc","type":"string"},{"name":"rule_type","type":"string"},{"name":"rule_range_min","type":"string"},{"name":"rule_range_max","type":"string"},{"name":"rule_range_infinite","type":"integer","format":"int32"},{"name":"rule_range_unit","type":"string"},{"name":"rate_type","type":"string"},{"name":"rate_amount","type":"string"},{"name":"rate_first_range","type":"string"},{"name":"rate_first_unit","type":"string"},{"name":"rate_additional_amount","type":"string"},{"name":"rate_additional_unit","type":"string"},{"name":"rate_additional_range","type":"string"},{"name":"plan_type","type":"integer","format":"int32"},{"name":"plan_type_value","type":"string"},{"name":"rule_type_scope","type":"integer","format":"int32"}]},"v202506.CreateShippingZoneResponse":{"fields":[{"name":"shipping","type":"object","schema":"v202506.ShippingSchemasShipping"}]},"v202506.CreateShopMetafieldResponse":{"fields":[{"name":"metafield","type":"object","schema":"v202506.Metafield"}]},"v202506.CreateSupplierParam":{"fields":[{"name":"title","type":"string","required":true,"min_length":1},{"name":"url","type":"string"}]},"v202506.CreateSupplierResponse":{"fields":[{"name":"supplier","type":"object","schema":"v202506.Supplier"}]},"v202506.CreateThemeFileParam":{"fields":[{"name":"type","type":"string","required":true,"min_length":1},{"name":"location","type":"string","required":true,"min_length":1},{"name":"content","type":"string"}]},"v202506.CreateThemeFileResponse":{},"v202506.CreateUploadFileTaskResponse":{"fields":[{"name":"task_id","type":"string"}]},"v202506.CreateUrlRedirectParam":{"fields":[{"name":"from_url","type":"string","required":true,"min_length":1},{"name":"redirect_url","type":"string","required":true,"min_length":1},{"name":"status","type":"string","required":true,"min_length":1}]},"v202506.CreateUrlRedirectResponse":{"fields":[{"name":"redirect","type":"object","schema":"v202506.UrlRedirect"}]},"v202506.CreateUsageChargeParam":{"fields":[{"name":"description","type":"string","required":true,"min_length":1},{"name":"price","type":"number","format":"float","required":true}]},"v202506.CreateUsageChargeResponse":{"fields":[{"name":"usage_charge","type":"object","schema":"v202506.UsageCharge"}]},"v202506.CreateVariantParam":{"fields":[{"name":"option1","type":"string"},{"name":"option2","type":"string"},{"name":"option3","type":"string"},{"name":"image_id","type":"string"},{"name":"compare_at_price","type":"number","format":"double"},{"name":"price","type":"number","format":"double","required":true,"minimum":0},{"name":"sku","type":"string"},{"name":"barcode","type":"string"},{"name":"note","type":"string"},{"name":"inventory_quantity","type":"integer","format":"int64"},{"name":"weight","type":"number","format":"double"},{"name":"weight_unit","type":"string"},{"name":"cost_price","type":"number","format":"double"},{"name":"wholesale_price","type":"array","items":{"type":"object","schema":"v202506.WholePrice"}},{"name":"retail_price","type":"number","format":"double"},{"name":"position","type":"integer","format":"int64","required":true},{"name":"extend","type":"object","schema":"v202506.VariantExtend"}]},"v202506.CreateVariantResponse":{"fields":[{"name":"variant","type":"object","schema":"v202506.VariantParam"}]},"v202506.CreateWebhookParam":{"fields":[{"name":"address","type":"string","required":true,"min_length":1},{"name":"topic","type":"string","required":true,"min_length":1}]},"v202506.CreateWebhookResponse":{"fields":[{"name":"webhook","type":"object","schema":"v202506.WebhookParam"}]},"v202506.CurrencySymbol":{"fields":[{"name":"code","type":"string"},{"name":"val","type":"string"},{"name":"left","type":"string"},{"name":"right","type":"string"}]},"v202506.CustomPage":{"fields":[{"name":"id","type":"integer","format":"int32"},{"name":"store_id","type":"integer","format":"int32"},{"name":"title","type":"string"},{"name":"content","type":"string"},{"name":"status","type":"integer","format":"int32"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"url","type":"string"},{"name":"meta_title","type":"string"},{"name":"meta_keywords","type":"array","items":{"type":"string"}},{"name":"meta_description","type":"string"},{"name":"independent_seo","type":"boolean"},{"name":"origin","type":"string"}]},"v202506.Customer":{"fields":[{"name":"id","type":"string"},{"name":"email","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"phone","type":"string"},{"name":"tags","type":"array","items":{"type":"string"}},{"name":"name","type":"string"},{"name":"phone_area_code","type":"string"},{"name":"contact_type","type":"string"},{"name":"sms_subscribed_flag","type":"integer","format":"int32"},{"name":"addresses","type":"array","items":{"type":"object","schema":"v202506.CustomerAddress"}},{"name":"accepts_marketing","type":"boolean"},{"name":"source","type":"string"},{"name":"free_tax","type":"boolean"},{"name":"registered","type":"boolean"},{"name":"orders_count","type":"integer","format":"int32"},{"name":"first_order_at","type":"string"},{"name":"last_order_at","type":"string"},{"name":"total_spent","type":"string"},{"name":"subscribed_flag","type":"integer","format":"int32"},{"name":"accepts_sms_marketing","type":"boolean"}]},"v202506.CustomerAddress":{"fields":[{"name":"id","type":"string"},{"name":"customer_id","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"company","type":"string"},{"name":"city","type":"string"},{"name":"province","type":"string"},{"name":"country","type":"string"},{"name":"zip","type":"string"},{"name":"province_code","type":"string"},{"name":"country_code","type":"string"},{"name":"gender","type":"string"},{"name":"phone","type":"string"},{"name":"phone_area_code","type":"string"},{"name":"area","type":"string"},{"name":"email","type":"string"},{"name":"name","type":"string"},{"name":"address1","type":"string"},{"name":"address2","type":"string"},{"name":"country_name","type":"string"},{"name":"default","type":"boolean"}]},"v202506.DataAnalysis":{"fields":[{"name":"date_time","type":"string"},{"name":"country_abbr","type":"string"},{"name":"country_code","type":"string"},{"name":"utm_source","type":"string"},{"name":"utm_medium","type":"string"},{"name":"utm_campaign","type":"string"},{"name":"utm_term","type":"string"},{"name":"utm_content","type":"string"},{"name":"pv","type":"integer","format":"int32"},{"name":"uv","type":"integer","format":"int32"},{"name":"add_cart_uv","type":"integer","format":"int32"},{"name":"add_cart_qty","type":"integer","format":"int32"},{"name":"add_payment_info_uv","type":"integer","format":"int32"},{"name":"begin_checkout_pv","type":"integer","format":"int32"},{"name":"begin_checkout_uv","type":"integer","format":"int32"},{"name":"orders","type":"integer","format":"int32"},{"name":"sales","type":"number","format":"float"},{"name":"conversion_rate","type":"number","format":"float"},{"name":"impression","type":"integer","format":"int32"}]},"v202506.DataByLandPage":{"fields":[{"name":"last_referrer_show","type":"string"},{"name":"land_url_path","type":"string"},{"name":"last_template_name","type":"string"},{"name":"last_template_name_original","type":"string"},{"name":"pv","type":"string"},{"name":"uv","type":"string"},{"name":"conversion_rate","type":"string"},{"name":"add_cart_uv","type":"string"},{"name":"begin_checkout_uv","type":"string"},{"name":"add_payment_info_uv","type":"string"},{"name":"orders","type":"string"},{"name":"sales","type":"string"},{"name":"avg_elapse","type":"string"},{"name":"escape_rate","type":"string"},{"name":"pv_original","type":"integer","format":"int32"},{"name":"uv_original","type":"integer","format":"int32"},{"name":"conversion_rate_original","type":"number","format":"float"},{"name":"add_cart_uv_original","type":"integer","format":"int32"},{"name":"begin_checkout_uv_original","type":"integer","format":"int32"},{"name":"add_payment_info_uv_original","type":"integer","format":"int32"},{"name":"orders_original","type":"integer","format":"int32"},{"name":"sales_original","type":"number","format":"float"},{"name":"avg_elapse_original","type":"number","format":"float"},{"name":"escape_rate_original","type":"number","format":"float"},{"name":"last_referrer_first_show","type":"string"},{"name":"product_uv","type":"string"},{"name":"product_uv_original","type":"integer","format":"int32"},{"name":"order_customers","type":"string"},{"name":"order_customers_original","type":"integer","format":"int32"}]},"v202506.DataBySku":{"fields":[{"name":"product_id","type":"string"},{"name":"variant_id","type":"string"},{"name":"title","type":"string"},{"name":"brief","type":"string"},{"name":"variant_title","type":"string"},{"name":"sku","type":"string"},{"name":"spu","type":"string"},{"name":"image","type":"string"},{"name":"seo_url","type":"string"},{"name":"price","type":"number","format":"float"},{"name":"variant_op_updated_at","type":"string"},{"name":"sales_count","type":"integer","format":"int32"},{"name":"sales_total","type":"number","format":"float"},{"name":"net_sales_total","type":"number","format":"float"},{"name":"order_count","type":"integer","format":"int32"},{"name":"refund_count","type":"integer","format":"int32"},{"name":"views_count_original","type":"integer","format":"int32"},{"name":"view_client_count","type":"integer","format":"int32"},{"name":"add_to_cart_count_original","type":"integer","format":"int32"},{"name":"add_cart_client_count","type":"integer","format":"int32"},{"name":"transform_rate_original","type":"number","format":"float"},{"name":"add_to_cart_conversion_rate_original","type":"number","format":"float"},{"name":"published_at","type":"string"},{"name":"refund_quantity","type":"integer","format":"int32"},{"name":"add_to_cart_rate_original","type":"number","format":"float"},{"name":"views_rate_original","type":"number","format":"float"},{"name":"opened_orders","type":"integer","format":"int32"},{"name":"refund_orders","type":"integer","format":"int32"},{"name":"transform_rate","type":"string"},{"name":"add_to_cart_conversion_rate","type":"string"},{"name":"add_to_cart_rate","type":"string"},{"name":"views_rate","type":"string"},{"name":"views_count","type":"string"},{"name":"add_to_cart_count","type":"string"}]},"v202506.DataBySpu":{"fields":[{"name":"utm_source","type":"string"},{"name":"utm_medium","type":"string"},{"name":"utm_campaign","type":"string"},{"name":"utm_term","type":"string"},{"name":"utm_content","type":"string"},{"name":"image","type":"string"},{"name":"title","type":"string"},{"name":"order_count_original","type":"integer","format":"int32"},{"name":"sales_count_original","type":"integer","format":"int32"},{"name":"sales_total_original","type":"number","format":"float"},{"name":"net_sales_total_original","type":"number","format":"float"},{"name":"discount_original","type":"number","format":"float"},{"name":"tax_original","type":"number","format":"float"},{"name":"views_count_original","type":"integer","format":"int32"},{"name":"add_to_cart_count_original","type":"integer","format":"int32"},{"name":"views_rate_original","type":"number","format":"float"},{"name":"add_to_cart_rate_original","type":"number","format":"float"},{"name":"view_client_count_original","type":"integer","format":"int32"},{"name":"add_cart_client_count_original","type":"integer","format":"int32"},{"name":"add_to_cart_conversion_rate_original","type":"number","format":"float"},{"name":"transform_rate_original","type":"number","format":"float"},{"name":"product_id","type":"string"},{"name":"brief","type":"string"},{"name":"spu","type":"string"},{"name":"collection","type":"string"},{"name":"created_at","type":"string"},{"name":"first_published_at","type":"string"},{"name":"published_at","type":"string"},{"name":"product_op_updated_at","type":"string"},{"name":"published","type":"boolean"},{"name":"duty_total_original","type":"integer","format":"int32"},{"name":"order_count","type":"string"},{"name":"sales_count","type":"string"},{"name":"sales_total","type":"string"},{"name":"net_sales_total","type":"string"},{"name":"discount","type":"string"},{"name":"tax","type":"string"},{"name":"views_count","type":"string"},{"name":"add_to_cart_count","type":"string"},{"name":"views_rate","type":"string"},{"name":"add_to_cart_rate","type":"string"},{"name":"view_client_count","type":"string"},{"name":"add_cart_client_count","type":"string"},{"name":"add_to_cart_conversion_rate","type":"string"},{"name":"transform_rate","type":"string"},{"name":"duty_total","type":"string"},{"name":"seo_url","type":"string"},{"name":"impression","type":"string"},{"name":"collection_id","type":"string"},{"name":"collection_title","type":"string"},{"name":"impression_original","type":"integer","format":"int64"}]},"v202506.DataByUTM":{"fields":[{"name":"date","type":"string"},{"name":"utm_source","type":"string"},{"name":"utm_medium","type":"string"},{"name":"utm_campaign","type":"string"},{"name":"utm_content","type":"string"},{"name":"utm_term","type":"string"},{"name":"country","type":"string"},{"name":"country_abbr","type":"string"},{"name":"land_url_path","type":"string"},{"name":"page_views_total","type":"integer","format":"int64"},{"name":"view_client_count","type":"integer","format":"int32"},{"name":"uv_rate","type":"number","format":"float"},{"name":"product_views_count","type":"integer","format":"int32"},{"name":"add_to_cart_count","type":"integer","format":"int32"},{"name":"begin_checkout_count","type":"integer","format":"int32"},{"name":"orders_count","type":"integer","format":"int32"},{"name":"orders_count_rate","type":"number","format":"float"},{"name":"transform_rate","type":"number","format":"float"},{"name":"product_sales","type":"number","format":"float"},{"name":"product_sales_rate","type":"number","format":"float"},{"name":"per_customer_sales","type":"number","format":"float"},{"name":"avg_elapse","type":"number","format":"float"},{"name":"avg_depth","type":"number","format":"float"},{"name":"place_order_client_count","type":"integer","format":"int32"},{"name":"first_order_customers","type":"integer","format":"int32"},{"name":"first_order_customers_rate","type":"number","format":"float"},{"name":"escape_rate","type":"number","format":"float"}]},"v202506.DeactivateLocationResponse":{},"v202506.DefinitionCount":{"fields":[{"name":"metafield_count","type":"integer","format":"int32"},{"name":"definition_id","type":"integer","format":"uint64"}]},"v202506.DefinitionCountByGroup":{"fields":[{"name":"count","type":"integer","format":"int32"},{"name":"owner_resource","type":"string"}]},"v202506.DeleteAddressResponse":{},"v202506.DeleteArticleResponse":{},"v202506.DeleteBlogResponse":{},"v202506.DeleteCarrierServiceResponse":{},"v202506.DeleteCollectResponse":{},"v202506.DeleteCustomPageResponse":{"fields":[{"name":"status","type":"integer","format":"int32"}]},"v202506.DeleteFileResponse":{},"v202506.DeleteInventoryLevelResponse":{},"v202506.DeleteMetafield":{"fields":[{"name":"id","type":"string"},{"name":"store_id","type":"integer","format":"uint32"},{"name":"owner_resource","type":"string"},{"name":"owner_id","type":"string"},{"name":"namespace","type":"string"},{"name":"key","type":"string"},{"name":"type","type":"string"},{"name":"value","type":"object","schema":"google.protobuf.Value"},{"name":"description","type":"string"},{"name":"definition_id","type":"integer","format":"uint64"}]},"v202506.DeleteMetafieldDefinitionResponse":{},"v202506.DeleteMetafieldResponse":{"fields":[{"name":"metafield","type":"object","schema":"v202506.ResourceMetafield"}]},"v202506.DeleteOrderResponse":{},"v202506.DeleteOrderRiskResponse":{},"v202506.DeletePostSaleOrderResponse":{},"v202506.DeleteProductImageResponse":{},"v202506.DeleteProductResponse":{},"v202506.DeleteShippingZoneResponse":{},"v202506.DeleteShopMetafieldResponse":{"fields":[{"name":"metafield","type":"object","schema":"v202506.DeleteMetafield"}]},"v202506.DeleteThemeFileResponse":{},"v202506.DeleteThemeResponse":{},"v202506.DeleteUrlRedirectResponse":{},"v202506.DeleteVariantResponse":{},"v202506.DeleteWebhookResponse":{},"v202506.DetectCarrierResponse":{"fields":[{"name":"tracking_carrier","type":"object","schema":"v202506.TrackingCarrier"}]},"v202506.DisableGiftCardResponse":{"fields":[{"name":"gift_card","type":"object","schema":"v202506.GiftCard"}]},"v202506.EditLocationPriorityResponse":{},"v202506.Extend":{"fields":[{"name":"length","type":"number","format":"double"},{"name":"width","type":"number","format":"double"},{"name":"height","type":"number","format":"double"},{"name":"dimension_unit","type":"string"},{"name":"origin_country_code","type":"string"},{"name":"hs_code","type":"string"}]},"v202506.ExtendParam":{"fields":[{"name":"length","type":"number","format":"double"},{"name":"width","type":"number","format":"double"},{"name":"height","type":"number","format":"double"},{"name":"dimension_unit","type":"string"},{"name":"origin_country_code","type":"string"},{"name":"hs_code","type":"string"}]},"v202506.ExtraInfo":{"fields":[{"name":"addition","type":"object","items":{"type":"object","schema":"v202506.AdditionItem"}},{"name":"cpf","type":"string"},{"name":"tax_text","type":"string"}]},"v202506.File":{"fields":[{"name":"upload_link","type":"string"},{"name":"file_uri","type":"string"},{"name":"folder","type":"string"},{"name":"size","type":"integer","format":"int32"},{"name":"type","type":"string"},{"name":"origin_link","type":"string"},{"name":"desc","type":"string"},{"name":"aspect_ratio","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.FileList":{"fields":[{"name":"file_uri","type":"string"},{"name":"origin_link","type":"string"},{"name":"upload_link","type":"string"}]},"v202506.Fulfillment":{"fields":[{"name":"id","type":"string"},{"name":"order_id","type":"string"},{"name":"status","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"tracking_company","type":"string"},{"name":"tracking_number","type":"string"},{"name":"tracking_company_code","type":"string"},{"name":"line_items","type":"array","items":{"type":"object","schema":"v202506.LineItem"}},{"name":"tracking_url","type":"string"},{"name":"phone_number","type":"string"}]},"v202506.FulfillmentLineItemParam":{"fields":[{"name":"id","type":"string","required":true,"min_length":1},{"name":"ship_quantity","type":"integer","format":"int32"}]},"v202506.FullImageRes":{"fields":[{"name":"id","type":"string"},{"name":"src","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"},{"name":"position","type":"integer","format":"int64"},{"name":"path","type":"string"}]},"v202506.GetAddressResponse":{"fields":[{"name":"address","type":"object","schema":"v202506.CustomerAddress"}]},"v202506.GetAppChargeTransactionResponse":{"fields":[{"name":"transaction","type":"object","schema":"v202506.AppChargeTransaction"}]},"v202506.GetArticleCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.GetArticleResponse":{"fields":[{"name":"article","type":"object","schema":"v202506.Article"}]},"v202506.GetAuthorListResponse":{"fields":[{"name":"authors","type":"array","items":{"type":"string"}}]},"v202506.GetAvailableShippingLinesResponse":{"fields":[{"name":"shipping_lines","type":"array","items":{"type":"object","schema":"v202506.AvailableShippingLine"}},{"name":"invalid_products","type":"array","items":{"type":"string"}},{"name":"message","type":"string"},{"name":"state","type":"string"}]},"v202506.GetBlogCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.GetBlogResponse":{"fields":[{"name":"blog","type":"object","schema":"v202506.Blog"}]},"v202506.GetCarrierServiceResponse":{"fields":[{"name":"carrier_service","type":"object","schema":"v202506.CarrierService"}]},"v202506.GetCollectCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.GetCollectResponse":{"fields":[{"name":"collect","type":"object","schema":"v202506.Collect"}]},"v202506.GetCustomPageCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.GetCustomPageResponse":{"fields":[{"name":"page","type":"object","schema":"v202506.CustomPage"}]},"v202506.GetCustomerCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.GetCustomerResponse":{"fields":[{"name":"customer","type":"object","schema":"v202506.Customer"}]},"v202506.GetDataAnalysisBySPUResponse":{"fields":[{"name":"data","type":"array","items":{"type":"object","schema":"v202506.DataBySpu"}},{"name":"count","type":"integer","format":"int32"},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.GetDataAnalysisLandPageResponse":{"fields":[{"name":"count","type":"integer","format":"int32"},{"name":"last_updated_at","type":"string"},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"data","type":"array","items":{"type":"object","schema":"v202506.DataByLandPage"}}]},"v202506.GetDataAnalysisResponse":{"fields":[{"name":"data","type":"array","items":{"type":"object","schema":"v202506.DataAnalysis"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"count","type":"integer","format":"int32"}]},"v202506.GetDataAnalysisSKUResponse":{"fields":[{"name":"count","type":"integer","format":"int32"},{"name":"last_updated_at","type":"string"},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"data","type":"array","items":{"type":"object","schema":"v202506.DataBySku"}}]},"v202506.GetDataAnalysisUTMResponse":{"fields":[{"name":"count","type":"integer","format":"int32"},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"data","type":"array","items":{"type":"object","schema":"v202506.DataByUTM"}},{"name":"summary","type":"object","schema":"v202506.UTMSummary"}]},"v202506.GetDefaultLocationResponse":{"fields":[{"name":"location","type":"object","schema":"v202506.Location"}]},"v202506.GetFileListResponse":{"fields":[{"name":"files","type":"array","items":{"type":"object","schema":"v202506.File"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"total","type":"integer","format":"int32"}]},"v202506.GetFileResponse":{"fields":[{"name":"file","type":"object","schema":"v202506.File"}]},"v202506.GetFulfillmentCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.GetGeneralShippingSchemasResponse":{"fields":[{"name":"shipping_schemas","type":"object","schema":"v202506.ShippingSchemas"}]},"v202506.GetGiftCardListResponse":{"fields":[{"name":"gift_cards","type":"array","items":{"type":"object","schema":"v202506.GiftCard"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"total","type":"integer","format":"int32"}]},"v202506.GetGiftCardResponse":{"fields":[{"name":"gift_card","type":"object","schema":"v202506.GiftCard"}]},"v202506.GetInventoryItemResponse":{"fields":[{"name":"inventory_item","type":"object","schema":"v202506.InventoryItem"}]},"v202506.GetLocationResponse":{"fields":[{"name":"location","type":"object","schema":"v202506.Location"}]},"v202506.GetMetafieldCountResponse":{"fields":[{"name":"total_count","type":"integer","format":"int32"}]},"v202506.GetMetafieldDefinitionCountByGroupResponse":{"fields":[{"name":"items","type":"array","items":{"type":"object","schema":"v202506.DefinitionCountByGroup"}}]},"v202506.GetMetafieldDefinitionCountResponse":{"fields":[{"name":"items","type":"array","items":{"type":"object","schema":"v202506.DefinitionCount"}}]},"v202506.GetMetafieldDefinitionResponse":{"fields":[{"name":"metafield_definition","type":"object","schema":"v202506.MetafieldDefinition"}]},"v202506.GetMetafieldListResponse":{"fields":[{"name":"metafields","type":"array","items":{"type":"object","schema":"v202506.ResourceMetafield"}},{"name":"next_cursor","type":"integer","format":"uint64"},{"name":"total_count","type":"integer","format":"int32"},{"name":"has_more","type":"boolean"}]},"v202506.GetMetafieldResponse":{"fields":[{"name":"metafield","type":"object","schema":"v202506.ResourceMetafield"}]},"v202506.GetOneTimeApplicationChargeResponse":{"fields":[{"name":"application_charge","type":"object","schema":"v202506.OneTimeApplicationCharge"}]},"v202506.GetOrderRiskResponse":{"fields":[{"name":"risk","type":"object","schema":"v202506.OrderRisk"}]},"v202506.GetProcurementResponse":{"fields":[{"name":"procurement","type":"object","schema":"v202506.Procurement"}]},"v202506.GetProductImageCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.GetProductImageResponse":{"fields":[{"name":"image","type":"object","schema":"v202506.ProductImage"}]},"v202506.GetProductInventoryResponse":{"fields":[{"name":"product_id","type":"string"},{"name":"Stock","type":"integer","format":"int32"},{"name":"variants","type":"array","items":{"type":"object","schema":"v202506.VariantInventory"}}]},"v202506.GetProductResponse":{"fields":[{"name":"product","type":"object","schema":"v202506.ProductRes"}]},"v202506.GetRecurringApplicationChargeResponse":{"fields":[{"name":"recurring_application_charge","type":"object","schema":"v202506.RecurringApplicationCharge"}]},"v202506.GetRefundRecordTotalCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.GetShopMetafieldCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202506.GetShopMetafieldResponse":{"fields":[{"name":"metafield","type":"object","schema":"v202506.Metafield"}]},"v202506.GetShopResponse":{"fields":[{"name":"account","type":"string"},{"name":"address1","type":"string"},{"name":"address2","type":"string"},{"name":"city","type":"string"},{"name":"country_code","type":"string"},{"name":"created_at","type":"string"},{"name":"currency","type":"string"},{"name":"customer_email","type":"string"},{"name":"domain","type":"string"},{"name":"email","type":"string"},{"name":"icon","type":"object","schema":"v202506.Icon"},{"name":"subscription","type":"object","schema":"v202506.SubscriptionStatus"},{"name":"id","type":"integer","format":"int32"},{"name":"name","type":"string"},{"name":"phone","type":"string"},{"name":"primary_locale","type":"string"},{"name":"province_code","type":"string"},{"name":"root_url","type":"string"},{"name":"shop_owner","type":"string"},{"name":"state","type":"string"},{"name":"system_domain","type":"string"},{"name":"timezone","type":"string"},{"name":"updated_at","type":"string"},{"name":"zip","type":"string"}]},"v202506.GetSupplierResponse":{"fields":[{"name":"supplier","type":"object","schema":"v202506.Supplier"}]},"v202506.GetThemeAllFileVersionListResponse":{"fields":[{"name":"versions","type":"array","items":{"type":"object","schema":"v202506.ThemeFileVersion"}}]},"v202506.GetThemeDocTreeResponse":{"fields":[{"name":"layouts","type":"array","items":{"type":"object","schema":"v202506.ThemeDocLocation"}},{"name":"templates","type":"array","items":{"type":"object","schema":"v202506.ThemeDocLocation"}},{"name":"sections","type":"array","items":{"type":"object","schema":"v202506.ThemeDocLocation"}},{"name":"snippets","type":"array","items":{"type":"object","schema":"v202506.ThemeDocLocation"}},{"name":"assets","type":"array","items":{"type":"object","schema":"v202506.ThemeDocLocation"}},{"name":"configs","type":"array","items":{"type":"object","schema":"v202506.ThemeDocLocation"}},{"name":"locales","type":"array","items":{"type":"object","schema":"v202506.ThemeDocLocation"}},{"name":"blocks","type":"array","items":{"type":"object","schema":"v202506.ThemeDocLocation"}}]},"v202506.GetThemeFileResponse":{"fields":[{"name":"theme_file","type":"object","schema":"v202506.ThemeFile"}]},"v202506.GetThemeFileVersionListResponse":{"fields":[{"name":"versions","type":"array","items":{"type":"object","schema":"v202506.ThemeFileVersion"}}]},"v202506.GetThemeFileVersionResponse":{"fields":[{"name":"version","type":"object","schema":"v202506.ThemeFileVersion"}]},"v202506.GetThemeResponse":{"fields":[{"name":"theme","type":"object","schema":"v202506.Theme"}]},"v202506.GetThemeTaskResponse":{"fields":[{"name":"task","type":"object","schema":"v202506.Task"}]},"v202506.GetUploadFileTaskResponse":{"fields":[{"name":"task_id","type":"string"},{"name":"total","type":"integer","format":"int32"},{"name":"finished","type":"integer","format":"int32"},{"name":"status","type":"integer","format":"int32"},{"name":"success_list","type":"array","items":{"type":"object","schema":"v202506.FileList"}},{"name":"failure_list","type":"array","items":{"type":"string"}},{"name":"origin_list","type":"array","items":{"type":"string"}}]},"v202506.GetUrlRedirectResponse":{"fields":[{"name":"redirect","type":"object","schema":"v202506.UrlRedirect"}]},"v202506.GetUsageChargeResponse":{"fields":[{"name":"usage_charge","type":"object","schema":"v202506.UsageCharge"}]},"v202506.GetVariantResponse":{"fields":[{"name":"variant","type":"object","schema":"v202506.VariantParam"}]},"v202506.GetWebhookResponse":{"fields":[{"name":"webhook","type":"object","schema":"v202506.WebhookParam"}]},"v202506.GiftCard":{"fields":[{"name":"id","type":"string"},{"name":"last_characters","type":"string"},{"name":"balance","type":"string"},{"name":"initial_value","type":"string"},{"name":"note","type":"string"},{"name":"expires_on","type":"string"},{"name":"disabled_at","type":"string"},{"name":"enabled","type":"boolean"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"status","type":"string"},{"name":"currency","type":"string"},{"name":"line_item_id","type":"string"},{"name":"order_id","type":"string"},{"name":"user_id","type":"string"},{"name":"template_suffix","type":"string"},{"name":"customer_id","type":"string"},{"name":"code","type":"string"}]},"v202506.Icon":{"fields":[{"name":"alt","type":"string"},{"name":"path","type":"string"},{"name":"src","type":"string"}]},"v202506.Image":{"fields":[{"name":"src","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"}]},"v202506.ImageParam":{"fields":[{"name":"src","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"},{"name":"path","type":"string"}]},"v202506.ImageRes":{"fields":[{"name":"src","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"},{"name":"path","type":"string"}]},"v202506.InventoryItem":{"fields":[{"name":"id","type":"string"},{"name":"product_id","type":"string"},{"name":"variant_id","type":"string"},{"name":"tracking","type":"boolean"},{"name":"tracking_policy","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.InventoryLevel":{"fields":[{"name":"inventory_item_id","type":"string"},{"name":"location_id","type":"string"},{"name":"stock","type":"integer","format":"int64"},{"name":"updated_at","type":"string"}]},"v202506.LineItem":{"fields":[{"name":"id","type":"string"},{"name":"product_id","type":"string"},{"name":"product_title","type":"string"},{"name":"variant_id","type":"string"},{"name":"variant_title","type":"string"},{"name":"quantity","type":"integer","format":"uint32"},{"name":"note","type":"string"},{"name":"image","type":"object","schema":"v202506.Image"},{"name":"price","type":"string"},{"name":"compare_at_price","type":"string"},{"name":"total_price","type":"string"},{"name":"fulfillment_status","type":"string"},{"name":"sku","type":"string"},{"name":"weight","type":"string"},{"name":"weight_unit","type":"string"},{"name":"vendor","type":"string"},{"name":"product_url","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"options","type":"array","items":{"type":"object","schema":"v202506.LineItemOption"}},{"name":"product_slug","type":"string"},{"name":"taxable","type":"boolean"},{"name":"requires_shipping","type":"boolean"},{"name":"spu","type":"string"},{"name":"product_tags","type":"string"},{"name":"refund_quantity_total","type":"integer","format":"uint32"},{"name":"ship_quantity","type":"integer","format":"uint32"},{"name":"custom","type":"boolean"},{"name":"trunk_price","type":"string"},{"name":"discount_applications","type":"string"},{"name":"tax_price","type":"string"},{"name":"duty_price","type":"string"},{"name":"payment_discount_price","type":"string"},{"name":"custom_properties","type":"object","schema":"google.protobuf.Struct"}]},"v202506.LineItemOption":{"fields":[{"name":"name","type":"string"},{"name":"value","type":"string"}]},"v202506.ListAddressResponse":{"fields":[{"name":"addresses","type":"array","items":{"type":"object","schema":"v202506.CustomerAddress"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListAllRefundRecordResponse":{"fields":[{"name":"records","type":"array","items":{"type":"object","schema":"v202506.RefundRecord"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListCarrierResponse":{"fields":[{"name":"tracking_carriers","type":"array","items":{"type":"object","schema":"v202506.TrackingCarrier"}}]},"v202506.ListCarrierServiceResponse":{"fields":[{"name":"carrier_services","type":"array","items":{"type":"object","schema":"v202506.CarrierService"}}]},"v202506.ListCategoryResponse":{"fields":[{"name":"categories","type":"array","items":{"type":"object","schema":"v202506.CategoryParam"}}]},"v202506.ListCollectResponse":{"fields":[{"name":"collects","type":"array","items":{"type":"object","schema":"v202506.Collect"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListCommentResponse":{"fields":[{"name":"comments","type":"array","items":{"type":"object","schema":"v202506.Comment"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListCustomPageResponse":{"fields":[{"name":"pages","type":"array","items":{"type":"object","schema":"v202506.CustomPage"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"total","type":"integer","format":"int32"}]},"v202506.ListCustomerResponse":{"fields":[{"name":"customers","type":"array","items":{"type":"object","schema":"v202506.Customer"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListInventoryItemResponse":{"fields":[{"name":"inventory_items","type":"array","items":{"type":"object","schema":"v202506.InventoryItem"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListInventoryLevelResponse":{"fields":[{"name":"inventory_levels","type":"array","items":{"type":"object","schema":"v202506.InventoryLevel"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListLocationInventoryLevelsResponse":{"fields":[{"name":"inventory_levels","type":"array","items":{"type":"object","schema":"v202506.InventoryLevel"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListLocationsResponse":{"fields":[{"name":"locations","type":"array","items":{"type":"object","schema":"v202506.Location"}},{"name":"total","type":"integer","format":"int64"},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListMetafieldDefinitionResponse":{"fields":[{"name":"definitions","type":"array","items":{"type":"object","schema":"v202506.MetafieldDefinition"}}]},"v202506.ListOneTimeApplicationChargeResponse":{"fields":[{"name":"application_charges","type":"array","items":{"type":"object","schema":"v202506.OneTimeApplicationCharge"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListOneTimeApplicationChargeTransactionResponse":{"fields":[{"name":"transactions","type":"array","items":{"type":"object","schema":"v202506.ApplicationChargeTransaction"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListOrderRefundRecordResponse":{"fields":[{"name":"order_financial_status","type":"string"},{"name":"order_status","type":"string"},{"name":"records","type":"array","items":{"type":"object","schema":"v202506.RefundRecord"}}]},"v202506.ListOrderRiskAssessmentInfoResponse":{"fields":[{"name":"assessments","type":"array","items":{"type":"string"}},{"name":"infos","type":"array","items":{"type":"object","schema":"v202506.OrderRiskAssessmentInfo"}}]},"v202506.ListPostSaleResponse":{"fields":[{"name":"orders","type":"array","items":{"type":"object","schema":"v202506.PostSaleOrder"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListProcurementItemResponse":{"fields":[{"name":"items","type":"array","items":{"type":"object","schema":"v202506.ProcurementItem"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"total","type":"integer","format":"int32"}]},"v202506.ListProcurementResponse":{"fields":[{"name":"procurements","type":"array","items":{"type":"object","schema":"v202506.Procurement"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"total","type":"integer","format":"int32"}]},"v202506.ListProductImageResponse":{"fields":[{"name":"images","type":"array","items":{"type":"object","schema":"v202506.ProductImage"}}]},"v202506.ListProductsResponse":{"fields":[{"name":"cursor","type":"string"},{"name":"pre_cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"products","type":"array","items":{"type":"object","schema":"v202506.ProductRes"}}]},"v202506.ListRecurringApplicationChargeResponse":{"fields":[{"name":"recurring_application_charges","type":"array","items":{"type":"object","schema":"v202506.RecurringApplicationCharge"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListRecurringApplicationChargeTransactionResponse":{"fields":[{"name":"transactions","type":"array","items":{"type":"object","schema":"v202506.ApplicationChargeTransaction"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListShopMetafieldResponse":{"fields":[{"name":"metafields","type":"array","items":{"type":"object","schema":"v202506.Metafield"}},{"name":"cursor","type":"integer","format":"uint64"},{"name":"has_more","type":"boolean"}]},"v202506.ListSupplierResponse":{"fields":[{"name":"suppliers","type":"array","items":{"type":"object","schema":"v202506.Supplier"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"total","type":"integer","format":"int32"}]},"v202506.ListThemeResponse":{"fields":[{"name":"count","type":"integer","format":"int32"},{"name":"themes","type":"array","items":{"type":"object","schema":"v202506.Theme"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListTransactionResponse":{"fields":[{"name":"transactions","type":"array","items":{"type":"object","schema":"v202506.Transaction"}}]},"v202506.ListUrlRedirectResponse":{"fields":[{"name":"count","type":"integer","format":"int32"},{"name":"redirects","type":"array","items":{"type":"object","schema":"v202506.UrlRedirect"}}]},"v202506.ListUsageChargeResponse":{"fields":[{"name":"usage_charges","type":"array","items":{"type":"object","schema":"v202506.UsageCharge"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.ListVariantBySkuResponse":{"fields":[{"name":"variants","type":"array","items":{"type":"object","schema":"v202506.VariantParam"}}]},"v202506.ListVariantInventoryItemResponse":{"fields":[{"name":"variant_inventory_items","type":"array","items":{"type":"object","schema":"v202506.VariantInventoryItem"}}]},"v202506.ListVariantResponse":{"fields":[{"name":"variants","type":"array","items":{"type":"object","schema":"v202506.VariantParam"}}]},"v202506.ListWebhookResponse":{"fields":[{"name":"webhooks","type":"array","items":{"type":"object","schema":"v202506.WebhookParam"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202506.Location":{"fields":[{"name":"id","type":"integer","format":"uint64"},{"name":"active","type":"boolean"},{"name":"default","type":"boolean"},{"name":"country","type":"string"},{"name":"country_code","type":"string"},{"name":"province","type":"string"},{"name":"province_code","type":"string"},{"name":"city","type":"string"},{"name":"area","type":"string"},{"name":"address","type":"string"},{"name":"address1","type":"string"},{"name":"name","type":"string"},{"name":"phone","type":"string"},{"name":"zip","type":"string"},{"name":"company","type":"string"},{"name":"latitude","type":"string"},{"name":"longitude","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.LocationItem":{"fields":[{"name":"location_id","type":"integer","format":"uint64"},{"name":"stock","type":"integer","format":"int32"}]},"v202506.LocationLine":{"fields":[{"name":"id","type":"string"},{"name":"location_id","type":"string"},{"name":"location_name","type":"string"}]},"v202506.MarketPrice":{"fields":[{"name":"compare_at_price","type":"string"},{"name":"price","type":"string"},{"name":"total_price","type":"string"},{"name":"actual_rate","type":"string"}]},"v202506.MarketPriceSetting":{"fields":[{"name":"local_currency_enabled","type":"boolean"},{"name":"custom_rate_enabled","type":"boolean"},{"name":"custom_rate","type":"number","format":"float"},{"name":"rate","type":"number","format":"float"},{"name":"back_rate","type":"number","format":"float"},{"name":"actual_rate","type":"number","format":"float"},{"name":"base_to_rate","type":"number","format":"float"},{"name":"local_to_rate","type":"number","format":"float"},{"name":"adjust","type":"integer","format":"int32"},{"name":"price_round_enabled","type":"boolean"}]},"v202506.MarketSetting":{"fields":[{"name":"primary_market_lang","type":"string"},{"name":"market_lang","type":"string"},{"name":"market_id","type":"string"},{"name":"market_currency","type":"string"},{"name":"market_currency_symbol","type":"object","schema":"v202506.CurrencySymbol"},{"name":"market_base_id","type":"string"},{"name":"market_base_currency","type":"string"},{"name":"market_base_currency_symbol","type":"object","schema":"v202506.CurrencySymbol"},{"name":"primary_market_id","type":"string"},{"name":"primary_market_currency","type":"string"},{"name":"primary_market_currency_symbol","type":"object","schema":"v202506.CurrencySymbol"},{"name":"market_price_setting","type":"object","schema":"v202506.MarketPriceSetting"},{"name":"market_country","type":"string"}]},"v202506.Metafield":{"fields":[{"name":"id","type":"string"},{"name":"store_id","type":"integer","format":"uint32"},{"name":"owner_resource","type":"string"},{"name":"owner_id","type":"string"},{"name":"namespace","type":"string"},{"name":"key","type":"string"},{"name":"type","type":"string"},{"name":"value","type":"object","schema":"google.protobuf.Value"},{"name":"description","type":"string"},{"name":"definition_id","type":"integer","format":"uint64"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.MetafieldDefinition":{"fields":[{"name":"id","type":"string"},{"name":"key","type":"string"},{"name":"name","type":"string"},{"name":"namespace","type":"string"},{"name":"owner_resource","type":"string"},{"name":"type","type":"string"},{"name":"description","type":"string"},{"name":"create_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.OneTimeApplicationCharge":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"price","type":"string"},{"name":"confirm_url","type":"string"},{"name":"return_url","type":"string"},{"name":"status","type":"string"},{"name":"test","type":"boolean"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.Option":{"fields":[{"name":"name","type":"string","required":true,"min_length":1},{"name":"values","type":"array","items":{"type":"string"},"required":true,"min_length":1}]},"v202506.OptionRes":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"values","type":"array","items":{"type":"string"}},{"name":"position","type":"integer","format":"int64"}]},"v202506.Order":{"fields":[{"name":"id","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"note","type":"string"},{"name":"number","type":"string"},{"name":"total_price","type":"string"},{"name":"sub_total","type":"string"},{"name":"currency","type":"string"},{"name":"financial_status","type":"string"},{"name":"status","type":"string"},{"name":"cancelled_at","type":"string"},{"name":"cancel_reason","type":"string"},{"name":"payment_method","type":"string"},{"name":"fulfillment_status","type":"string"},{"name":"customer_deleted_at","type":"string"},{"name":"deleted_at","type":"string"},{"name":"placed_at","type":"string"},{"name":"tags","type":"string"},{"name":"buyer_accepts_marketing","type":"boolean"},{"name":"code_discount_total","type":"string"},{"name":"customer_note","type":"string"},{"name":"total_discount","type":"string"},{"name":"total_tax","type":"string"},{"name":"total_shipping","type":"string"},{"name":"line_items","type":"array","items":{"type":"object","schema":"v202506.LineItem"}},{"name":"payment_line","type":"object","schema":"v202506.PaymentLine"},{"name":"shipping_line","type":"object","schema":"v202506.ShippingLine"},{"name":"billing_address","type":"object","schema":"v202506.OrderAddress"},{"name":"shipping_address","type":"object","schema":"v202506.OrderAddress"},{"name":"fulfillments","type":"array","items":{"type":"object","schema":"v202506.Fulfillment"}},{"name":"customer","type":"object","schema":"v202506.OrderCustomer"},{"name":"refer_info","type":"string"},{"name":"sales_platform","type":"string"},{"name":"total_refund_price","type":"string"},{"name":"primary_market_price","type":"object","schema":"v202506.MarketPrice"},{"name":"total_tip_received","type":"string"},{"name":"discount_applications","type":"string"},{"name":"refund_status","type":"string"},{"name":"email_status","type":"string"},{"name":"recovery_status","type":"string"},{"name":"total_paid","type":"string"},{"name":"payment_lines","type":"array","items":{"type":"object","schema":"v202506.PaymentLine"}},{"name":"gift_card_total","type":"string"},{"name":"logistics_code","type":"string"},{"name":"shipping_tax_total","type":"string"},{"name":"location_line","type":"object","schema":"v202506.LocationLine"},{"name":"additional_total","type":"string"},{"name":"additional_prices","type":"array","items":{"type":"object","schema":"v202506.AdditionalPrice"}},{"name":"config","type":"object","schema":"v202506.Config"},{"name":"checkout_url","type":"string"},{"name":"duty_total","type":"string"},{"name":"finished_at","type":"string"},{"name":"device","type":"string"},{"name":"order_type","type":"string"},{"name":"source","type":"string"},{"name":"source_name","type":"string"},{"name":"last_landing_url","type":"string"},{"name":"last_referrer_show","type":"string"}]},"v202506.OrderAddress":{"fields":[{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"address","type":"string"},{"name":"address1","type":"string"},{"name":"phone","type":"string"},{"name":"city","type":"string"},{"name":"zip","type":"string"},{"name":"province","type":"string"},{"name":"country","type":"string"},{"name":"company","type":"string"},{"name":"latitude","type":"string"},{"name":"longitude","type":"string"},{"name":"name","type":"string"},{"name":"country_code","type":"string"},{"name":"province_code","type":"string"},{"name":"phone_area_code","type":"string"},{"name":"email","type":"string"},{"name":"area","type":"string"},{"name":"extra_info","type":"object","schema":"v202506.ExtraInfo"}]},"v202506.OrderCustomer":{"fields":[{"name":"id","type":"string"},{"name":"email","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"phone","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"order_count","type":"integer","format":"int32"},{"name":"total_spent","type":"string"}]},"v202506.OrderRisk":{"fields":[{"name":"id","type":"string"},{"name":"order_id","type":"string"},{"name":"level","type":"string"},{"name":"details","type":"array","items":{"type":"string"}},{"name":"properties","type":"object","items":{"type":"string"}},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.OrderRiskAssessmentInfo":{"fields":[{"name":"title","type":"string"},{"name":"describe","type":"string"}]},"v202506.PayOrderSuccessResponse":{"fields":[{"name":"order","type":"object","schema":"v202506.Order"}]},"v202506.PaymentDetail":{"fields":[{"name":"card_number","type":"string"},{"name":"card_month","type":"string"},{"name":"card_year","type":"string"},{"name":"card_first_name","type":"string"},{"name":"card_last_name","type":"string"},{"name":"card_first_fix","type":"string"},{"name":"card_last_four","type":"string"},{"name":"avs_result_code","type":"string"},{"name":"cvv_result_code","type":"string"}]},"v202506.PaymentLine":{"fields":[{"name":"id","type":"string"},{"name":"payment_name","type":"string"},{"name":"payment_channel","type":"string"},{"name":"payment_method","type":"string"},{"name":"credit_card_number","type":"string"},{"name":"trans_channel","type":"string"},{"name":"trans_method","type":"string"},{"name":"transaction_no","type":"string"},{"name":"merchant_email","type":"string"}]},"v202506.PostSaleOrder":{"fields":[{"name":"created_at","type":"string"},{"name":"credit_card_number","type":"string"},{"name":"currency_code","type":"string"},{"name":"customer_name","type":"string"},{"name":"discount_code","type":"string"},{"name":"financial_status","type":"string"},{"name":"fulfillment_status","type":"string"},{"name":"fulfillments","type":"array","items":{"type":"object","schema":"v202506.PostSaleOrderFulfillment"}},{"name":"id","type":"string"},{"name":"line_items","type":"array","items":{"type":"object","schema":"v202506.PostSaleOrderLineItem"}},{"name":"number","type":"string"},{"name":"order_number","type":"string"},{"name":"order_total","type":"string"},{"name":"payment_method","type":"string"},{"name":"recipient_name","type":"string"},{"name":"sales_platform","type":"string"},{"name":"shipping_country","type":"string"},{"name":"shipping_email","type":"string"},{"name":"shipping_line","type":"object","schema":"v202506.ShippingLine"},{"name":"shipping_phone","type":"string"},{"name":"source","type":"string"},{"name":"source_name","type":"string"},{"name":"placed_at","type":"string"},{"name":"refund_amount","type":"string"},{"name":"post_sale_note","type":"string"},{"name":"last_referrer_show","type":"string"},{"name":"last_landing_url","type":"string"},{"name":"payment_lines","type":"array","items":{"type":"object","schema":"v202506.PaymentLine"}},{"name":"main_currency_prices","type":"object","schema":"v202506.MarketPrice"},{"name":"delivery_method","type":"integer","format":"int32"},{"name":"shipping_tax_total","type":"string"},{"name":"shipping_tax_type","type":"integer","format":"int32"},{"name":"all_tax_total","type":"string"},{"name":"shop_name","type":"string"},{"name":"staff_contact","type":"string"},{"name":"status","type":"string"}]},"v202506.PostSaleOrderFulfillment":{"fields":[{"name":"tracking_number","type":"string"},{"name":"created_at","type":"string"},{"name":"tracking_company","type":"string"}]},"v202506.PostSaleOrderLineItem":{"fields":[{"name":"compare_at_price","type":"string"},{"name":"fulfillment_status","type":"string"},{"name":"id","type":"string"},{"name":"image","type":"object","schema":"v202506.Image"},{"name":"note","type":"string"},{"name":"options","type":"array","items":{"type":"object","schema":"v202506.LineItemOption"}},{"name":"price","type":"string"},{"name":"product_handle","type":"string"},{"name":"product_id","type":"string"},{"name":"product_tags","type":"array","items":{"type":"string"}},{"name":"product_title","type":"string"},{"name":"properties","type":"string"},{"name":"quantity","type":"integer","format":"int32"},{"name":"refund_discount","type":"string"},{"name":"refund_price","type":"string"},{"name":"refund_quantity","type":"integer","format":"int32"},{"name":"refund_tax","type":"string"},{"name":"refund_total","type":"string"},{"name":"requires_shipping","type":"boolean"},{"name":"sku","type":"string"},{"name":"spu","type":"string"},{"name":"taxable","type":"boolean"},{"name":"total","type":"string"},{"name":"variant_id","type":"string"},{"name":"variant_title","type":"string"},{"name":"vendor","type":"string"},{"name":"weight","type":"string"},{"name":"weight_unit","type":"string"},{"name":"vendor_url","type":"string"},{"name":"oversold_quantity","type":"integer","format":"int32"},{"name":"main_currency_prices","type":"object","schema":"v202506.MarketPrice"},{"name":"fulfillments","type":"array","items":{"type":"object","schema":"v202506.PostSaleOrderFulfillment"}}]},"v202506.Procurement":{"fields":[{"name":"id","type":"string"},{"name":"procurement_sn","type":"string"},{"name":"supplier_id","type":"string"},{"name":"location_id","type":"string"},{"name":"note","type":"string"},{"name":"state","type":"integer","format":"int32"},{"name":"pending_quantity","type":"integer","format":"int32"},{"name":"received_quantity","type":"integer","format":"int32"},{"name":"rejected_quantity","type":"integer","format":"int32"},{"name":"transfer_quantity","type":"integer","format":"int32"},{"name":"created_by","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.ProcurementItem":{"fields":[{"name":"id","type":"string"},{"name":"procurement_id","type":"string"},{"name":"pending_quantity","type":"integer","format":"int32"},{"name":"received_quantity","type":"integer","format":"int32"},{"name":"rejected_quantity","type":"integer","format":"int32"},{"name":"transfer_quantity","type":"integer","format":"int32"},{"name":"variant_id","type":"string"},{"name":"product_id","type":"string"},{"name":"product_title","type":"string"},{"name":"variant_title","type":"string"},{"name":"variant_sku","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"product_image","type":"object","schema":"v202506.Image"}]},"v202506.Product":{"fields":[{"name":"title","type":"string","required":true,"min_length":1},{"name":"brief","type":"string"},{"name":"description","type":"string"},{"name":"published","type":"boolean"},{"name":"requires_shipping","type":"boolean"},{"name":"taxable","type":"boolean"},{"name":"tags","type":"array","items":{"type":"string"}},{"name":"vendor","type":"string"},{"name":"vendor_url","type":"string"},{"name":"note","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"handle","type":"string"},{"name":"has_only_default_variant","type":"boolean","required":true},{"name":"inventory_tracking","type":"boolean"},{"name":"inventory_policy","type":"string"},{"name":"need_variant_image","type":"boolean"},{"name":"spu","type":"string"},{"name":"fake_sales","type":"integer","format":"int64"},{"name":"display_fake_sales","type":"boolean"},{"name":"options","type":"array","items":{"type":"object","schema":"v202506.Option"}},{"name":"images","type":"array","items":{"type":"object","schema":"v202506.CreateProductImage"},"required":true,"min_length":1},{"name":"variants","type":"array","items":{"type":"object","schema":"v202506.CreateProductVariantParam"},"required":true,"min_length":1},{"name":"mixed_wholesale","type":"boolean"},{"name":"collection_ids","type":"array","items":{"type":"string"}},{"name":"product_type","type":"string"},{"name":"brand","type":"string"},{"name":"unique_token","type":"string"},{"name":"independent_seo","type":"boolean"},{"name":"inventory_quantity","type":"integer","format":"int64"},{"name":"category_id","type":"string"},{"name":"auto_publish_at","type":"string"}]},"v202506.ProductImage":{"fields":[{"name":"id","type":"string"},{"name":"product_id","type":"string"},{"name":"position","type":"integer","format":"int32"},{"name":"src","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.ProductRes":{"fields":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"published","type":"boolean"},{"name":"requires_shipping","type":"boolean"},{"name":"taxable","type":"boolean"},{"name":"tags","type":"array","items":{"type":"string"}},{"name":"vendor","type":"string"},{"name":"vendor_url","type":"string"},{"name":"note","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"handle","type":"string"},{"name":"has_only_default_variant","type":"boolean"},{"name":"inventory_tracking","type":"boolean"},{"name":"inventory_policy","type":"string"},{"name":"need_variant_image","type":"boolean"},{"name":"spu","type":"string"},{"name":"fake_sales","type":"integer","format":"int64"},{"name":"display_fake_sales","type":"boolean"},{"name":"options","type":"array","items":{"type":"object","schema":"v202506.OptionRes"}},{"name":"images","type":"array","items":{"type":"object","schema":"v202506.FullImageRes"}},{"name":"variants","type":"array","items":{"type":"object","schema":"v202506.VariantParam"}},{"name":"mixed_wholesale","type":"boolean"},{"name":"product_type","type":"string"},{"name":"brand","type":"string"},{"name":"brief","type":"string"},{"name":"inventory_quantity","type":"integer","format":"int64"},{"name":"price_min","type":"number","format":"double"},{"name":"price_max","type":"number","format":"double"},{"name":"compare_at_price_min","type":"number","format":"double"},{"name":"compare_at_price_max","type":"number","format":"double"},{"name":"published_at","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"sales","type":"integer","format":"int64"},{"name":"independent_seo","type":"boolean"},{"name":"url","type":"string"},{"name":"available","type":"boolean"},{"name":"retail_price_min","type":"number","format":"double"},{"name":"retail_price_max","type":"number","format":"double"},{"name":"origin_price_min","type":"number","format":"double"},{"name":"origin_price_max","type":"number","format":"double"},{"name":"primary_image","type":"object","schema":"v202506.ImageRes"},{"name":"tax_code","type":"string"},{"name":"category_id","type":"string"},{"name":"category","type":"object","schema":"v202506.Category"}]},"v202506.PublishThemeData":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"merchant_theme_id","type":"string"},{"name":"locale","type":"string"},{"name":"preset","type":"string"},{"name":"published","type":"string"},{"name":"status","type":"string"},{"name":"updated_at","type":"string"},{"name":"publish_time","type":"string"},{"name":"theme_save_time","type":"string"},{"name":"theme_version_id","type":"string"},{"name":"revoke_publish_id","type":"string"}]},"v202506.PublishThemeResponse":{"fields":[{"name":"theme","type":"object","schema":"v202506.PublishThemeData"}]},"v202506.ReceiveProcurementParam":{"fields":[{"name":"procurement_item_id","type":"string","required":true,"min_length":1},{"name":"received_quantity","type":"integer","format":"int32"},{"name":"rejected_quantity","type":"integer","format":"int32"},{"name":"rejected_reason","type":"string"}]},"v202506.ReceiveProcurementResponse":{},"v202506.RecurringApplicationCharge":{"fields":[{"name":"id","type":"string"},{"name":"application_id","type":"string"},{"name":"name","type":"string"},{"name":"price","type":"string"},{"name":"capped_amount","type":"string"},{"name":"terms","type":"string"},{"name":"return_url","type":"string"},{"name":"confirmation_url","type":"string"},{"name":"status","type":"string"},{"name":"trial_days","type":"integer","format":"int32"},{"name":"activated_on","type":"string"},{"name":"trial_ends_on","type":"string"},{"name":"billing_on","type":"string"},{"name":"cancelled_on","type":"string"},{"name":"cancel_sub_on","type":"string"},{"name":"test","type":"boolean"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"charge_interval_days","type":"integer","format":"int32"}]},"v202506.RefundLineItem":{"fields":[{"name":"line_item_id","type":"string"},{"name":"refund_quantity","type":"integer","format":"int32"},{"name":"tax","type":"string"},{"name":"discount","type":"string"},{"name":"sub_total","type":"string"},{"name":"total","type":"string"},{"name":"delete_quantity","type":"integer","format":"int32"}]},"v202506.RefundPaymentDetail":{"fields":[{"name":"id","type":"string"},{"name":"payment_line_id","type":"string"},{"name":"payment_channel","type":"string"},{"name":"payment_method","type":"string"},{"name":"refund_price","type":"string"},{"name":"refund_status","type":"string"},{"name":"finished_at","type":"string"}]},"v202506.RefundRecord":{"fields":[{"name":"id","type":"string"},{"name":"refund_price","type":"string"},{"name":"refund_shipping","type":"string"},{"name":"refund_shipping_tax","type":"string"},{"name":"refund_method","type":"string"},{"name":"refund_status","type":"string"},{"name":"note","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"refund_line_items","type":"array","items":{"type":"object","schema":"v202506.RefundLineItem"}},{"name":"payment_details","type":"array","items":{"type":"object","schema":"v202506.RefundPaymentDetail"}},{"name":"additional_total","type":"string"},{"name":"additional_prices","type":"array","items":{"type":"object","schema":"v202506.AdditionalPrice"}},{"name":"refund_tip","type":"string"},{"name":"order_id","type":"string"}]},"v202506.RenameThemeFileParam":{"fields":[{"name":"type","type":"string","required":true,"min_length":1},{"name":"location","type":"string"},{"name":"new_location","type":"string"}]},"v202506.RenameThemeFileResponse":{},"v202506.ResourceMetafield":{"fields":[{"name":"id","type":"string"},{"name":"store_id","type":"integer","format":"uint32"},{"name":"owner_resource","type":"string"},{"name":"owner_id","type":"string"},{"name":"namespace","type":"string"},{"name":"key","type":"string"},{"name":"type","type":"string"},{"name":"value","type":"object","schema":"google.protobuf.Value"},{"name":"description","type":"string"},{"name":"definition_id","type":"integer","format":"uint64"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.SaveGeneralShippingSchemasResponse":{"fields":[{"name":"shipping_schemas","type":"object","schema":"v202506.ShippingSchemas"}]},"v202506.SaveShippingSchemasParam":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string","required":true,"min_length":1},{"name":"shippings","type":"array","items":{"type":"object","schema":"v202506.UpdateShippingParam"}}]},"v202506.SearchCustomPageResponse":{"fields":[{"name":"page","type":"object","schema":"v202506.CustomPage"}]},"v202506.SearchUrlRedirectResponse":{"fields":[{"name":"redirect","type":"object","schema":"v202506.UrlRedirect"}]},"v202506.SetDefaultAddressResponse":{},"v202506.SetInventoryLevelResponse":{"fields":[{"name":"inventory_level","type":"object","schema":"v202506.InventoryLevel"}]},"v202506.ShippingArea":{"fields":[{"name":"shipping_id","type":"string"},{"name":"country_name","type":"string"},{"name":"country_code","type":"string"},{"name":"province_codes","type":"array","items":{"type":"string"}}]},"v202506.ShippingLine":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"desc","type":"string"},{"name":"delivery_method","type":"integer","format":"int32"}]},"v202506.ShippingPlan":{"fields":[{"name":"id","type":"string"},{"name":"shipping_id","type":"string"},{"name":"name","type":"string"},{"name":"desc","type":"string"},{"name":"support_cod","type":"integer","format":"int32"},{"name":"rule_type","type":"string"},{"name":"rule_range_min","type":"string"},{"name":"rule_range_max","type":"string"},{"name":"rule_range_infinite","type":"integer","format":"int32"},{"name":"rule_range_unit","type":"string"},{"name":"rate_type","type":"string"},{"name":"rate_amount","type":"string"},{"name":"rate_first_range","type":"string"},{"name":"rate_first_unit","type":"string"},{"name":"rate_additional_amount","type":"string"},{"name":"rate_additional_unit","type":"string"},{"name":"rate_additional_range","type":"string"},{"name":"store_id","type":"string"},{"name":"created_time","type":"string"},{"name":"updated_time","type":"string"},{"name":"plan_type","type":"integer","format":"int32"},{"name":"plan_type_value","type":"string"},{"name":"rule_type_scope","type":"integer","format":"int32"}]},"v202506.ShippingSchemas":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"schema_type","type":"integer","format":"int32"},{"name":"variant_num","type":"integer","format":"int32"},{"name":"shippings","type":"array","items":{"type":"object","schema":"v202506.ShippingSchemasShipping"}}]},"v202506.ShippingSchemasShipping":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"schema_id","type":"string"},{"name":"support_cod","type":"integer","format":"int32"},{"name":"plans","type":"array","items":{"type":"object","schema":"v202506.ShippingPlan"}},{"name":"areas","type":"array","items":{"type":"object","schema":"v202506.ShippingArea"}}]},"v202506.SubscriptionStatus":{"fields":[{"name":"type","type":"string"}]},"v202506.Supplier":{"fields":[{"name":"id","type":"integer","format":"uint64"},{"name":"title","type":"string"},{"name":"url","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.Task":{"fields":[{"name":"id","type":"string"},{"name":"store_id","type":"integer","format":"int32"},{"name":"type","type":"string"},{"name":"status","type":"integer","format":"int32"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"info","type":"string"},{"name":"message","type":"string"},{"name":"manifest","type":"string"}]},"v202506.Theme":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"merchant_theme_id","type":"string"},{"name":"merchant_theme_name","type":"string"},{"name":"merchant_theme_info","type":"string"},{"name":"locale","type":"string"},{"name":"preset","type":"string"},{"name":"type","type":"string"},{"name":"desc","type":"string"},{"name":"default","type":"string"},{"name":"pc_cover_url","type":"string"},{"name":"mobile_cover_url","type":"string"},{"name":"published","type":"string"},{"name":"is_auto_upgrade","type":"string"},{"name":"status","type":"string"},{"name":"updated_at","type":"string"},{"name":"publish_time","type":"string"},{"name":"auto_save_time","type":"string"},{"name":"theme_save_time","type":"string"},{"name":"version","type":"string"},{"name":"c_version","type":"string"},{"name":"change_log","type":"string"},{"name":"version_publish_time","type":"string"},{"name":"newest_c_version","type":"string"},{"name":"has_newest_version","type":"boolean"},{"name":"has_draft","type":"boolean"},{"name":"theme_version_id","type":"string"}]},"v202506.ThemeDocLocation":{"fields":[{"name":"id","type":"string"},{"name":"location","type":"string"}]},"v202506.ThemeFile":{"fields":[{"name":"id","type":"string"},{"name":"theme_id","type":"string"},{"name":"type","type":"string"},{"name":"location","type":"string"},{"name":"remote_url","type":"string"},{"name":"content","type":"string"}]},"v202506.ThemeFileVersion":{"fields":[{"name":"id","type":"string"},{"name":"version","type":"string"},{"name":"created_at","type":"string"},{"name":"theme_id","type":"string"},{"name":"type","type":"string"},{"name":"location","type":"string"},{"name":"updated_at","type":"string"}]},"v202506.TrackingCarrier":{"fields":[{"name":"code","type":"string"},{"name":"en_name","type":"string"},{"name":"cn_name","type":"string"}]},"v202506.Transaction":{"fields":[{"name":"id","type":"string"},{"name":"order_id","type":"string"},{"name":"payment_channel","type":"string"},{"name":"message","type":"string"},{"name":"created_at","type":"string"},{"name":"test","type":"boolean"},{"name":"error_code","type":"string"},{"name":"amount","type":"string"},{"name":"currency","type":"string"},{"name":"trade_id","type":"string"},{"name":"status","type":"string"},{"name":"payment_name","type":"string"},{"name":"payment_detail","type":"object","schema":"v202506.PaymentDetail"}]},"v202506.UTMFilter":{"fields":[{"name":"title","type":"string","required":true},{"name":"prerequisite","type":"string","required":true},{"name":"values","type":"array","items":{"type":"string"}}]},"v202506.UTMSummary":{"fields":[{"name":"page_views_total","type":"integer","format":"int64"},{"name":"view_client_count","type":"integer","format":"int32"},{"name":"uv_rate","type":"number","format":"float"},{"name":"product_views_count","type":"integer","format":"int32"},{"name":"add_to_cart_count","type":"integer","format":"int32"},{"name":"begin_checkout_count","type":"integer","format":"int32"},{"name":"orders_count","type":"integer","format":"int32"},{"name":"orders_count_rate","type":"number","format":"float"},{"name":"transform_rate","type":"number","format":"float"},{"name":"product_sales","type":"number","format":"float"},{"name":"product_sales_rate","type":"number","format":"float"},{"name":"per_customer_sales","type":"number","format":"float"},{"name":"avg_elapse","type":"number","format":"float"},{"name":"avg_depth","type":"number","format":"float"},{"name":"place_order_client_count","type":"integer","format":"int32"},{"name":"first_order_customers","type":"integer","format":"int32"},{"name":"first_order_customers_rate","type":"number","format":"float"},{"name":"escape_rate","type":"number","format":"float"}]},"v202506.UpdateAddressParam":{"fields":[{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"email","type":"string"},{"name":"address1","type":"string"},{"name":"address2","type":"string"},{"name":"area","type":"string"},{"name":"city","type":"string"},{"name":"province","type":"string"},{"name":"province_code","type":"string"},{"name":"country","type":"string"},{"name":"country_code","type":"string"},{"name":"company","type":"string"},{"name":"phone","type":"string"},{"name":"phone_area_code","type":"string"},{"name":"zip","type":"string"},{"name":"gender","type":"string"},{"name":"default","type":"boolean"}]},"v202506.UpdateAddressResponse":{"fields":[{"name":"address","type":"object","schema":"v202506.CustomerAddress"}]},"v202506.UpdateArticleParam":{"fields":[{"name":"title","type":"string","max_length":100},{"name":"excerpt","type":"string","max_length":255},{"name":"content","type":"string"},{"name":"published","type":"boolean"},{"name":"published_at","type":"string"},{"name":"handle","type":"string"},{"name":"author","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"blog_ids","type":"array","items":{"type":"string"}},{"name":"image","type":"object","schema":"v202506.ArticleImageParam"}]},"v202506.UpdateArticleResponse":{"fields":[{"name":"article","type":"object","schema":"v202506.Article"}]},"v202506.UpdateBlogParam":{"fields":[{"name":"Title","type":"string","max_length":100},{"name":"handle","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}}]},"v202506.UpdateBlogResponse":{"fields":[{"name":"blog","type":"object","schema":"v202506.Blog"}]},"v202506.UpdateCarrierServiceParam":{"fields":[{"name":"callback_url","type":"string","required":true,"min_length":1},{"name":"active","type":"boolean","required":true}]},"v202506.UpdateCarrierServiceResponse":{"fields":[{"name":"carrier_service","type":"object","schema":"v202506.CarrierService"}]},"v202506.UpdateCustomPageParam":{"fields":[{"name":"title","type":"string","required":true,"min_length":1},{"name":"content","type":"string"},{"name":"url","type":"string"},{"name":"meta_title","type":"string"},{"name":"meta_keywords","type":"array","items":{"type":"string"}},{"name":"meta_description","type":"string"},{"name":"independent_seo","type":"boolean"}]},"v202506.UpdateCustomPageResponse":{"fields":[{"name":"page","type":"object","schema":"v202506.CustomPage"}]},"v202506.UpdateCustomerParam":{"fields":[{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"accepts_marketing","type":"boolean"},{"name":"accepts_sms_marketing","type":"boolean"},{"name":"tags","type":"array","items":{"type":"string"}}]},"v202506.UpdateCustomerResponse":{"fields":[{"name":"customer","type":"object","schema":"v202506.Customer"}]},"v202506.UpdateFulfillmentParam":{"fields":[{"name":"tracking_number","type":"string","min_length":1},{"name":"tracking_company","type":"string"},{"name":"tracking_company_code","type":"string"},{"name":"tracking_url","type":"string"},{"name":"send_email","type":"boolean"},{"name":"phone_number","type":"string"}]},"v202506.UpdateGiftCardParam":{"fields":[{"name":"expires_on","type":"string"},{"name":"note","type":"string"},{"name":"template_suffix","type":"string"}]},"v202506.UpdateGiftCardResponse":{"fields":[{"name":"gift_card","type":"object","schema":"v202506.GiftCard"}]},"v202506.UpdateInventoryItemParam":{"fields":[{"name":"tracking","type":"boolean"},{"name":"tracking_policy","type":"string"}]},"v202506.UpdateInventoryItemResponse":{"fields":[{"name":"inventory_item","type":"object","schema":"v202506.InventoryItem"}]},"v202506.UpdateInventoryLevelResponse":{"fields":[{"name":"inventory_level","type":"object","schema":"v202506.InventoryLevel"}]},"v202506.UpdateMetafieldDefinitionResponse":{"fields":[{"name":"metafield_definition","type":"object","schema":"v202506.MetafieldDefinition"}]},"v202506.UpdateMetafieldResponse":{"fields":[{"name":"metafield","type":"object","schema":"v202506.ResourceMetafield"}]},"v202506.UpdateOrderRiskParam":{"fields":[{"name":"level","type":"string","min_length":1},{"name":"details","type":"array","items":{"type":"string"},"min_length":1},{"name":"properties","type":"object","items":{"type":"string"}}]},"v202506.UpdateOrderRiskResponse":{"fields":[{"name":"risk","type":"object","schema":"v202506.OrderRisk"}]},"v202506.UpdateProcurementItemParam":{"fields":[{"name":"procurement_item_id","type":"string","required":true,"min_length":1},{"name":"transfer_quantity","type":"integer","format":"int32","required":true,"minimum":0}]},"v202506.UpdateProcurementParam":{"fields":[{"name":"supplier_id","type":"string","min_length":1},{"name":"note","type":"string"}]},"v202506.UpdateProcurementResponse":{"fields":[{"name":"procurement","type":"object","schema":"v202506.Procurement"}]},"v202506.UpdateProductImage":{"fields":[{"name":"src","type":"string","min_length":1},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"},{"name":"id","type":"string"}]},"v202506.UpdateProductImageParam":{"fields":[{"name":"src","type":"string","min_length":1},{"name":"position","type":"integer","format":"int32"}]},"v202506.UpdateProductImageResponse":{"fields":[{"name":"image","type":"object","schema":"v202506.ProductImage"}]},"v202506.UpdateProductParam":{"fields":[{"name":"title","type":"string","min_length":1},{"name":"brief","type":"string"},{"name":"description","type":"string"},{"name":"published","type":"boolean"},{"name":"require_shipping","type":"boolean"},{"name":"taxable","type":"boolean"},{"name":"tags","type":"array","items":{"type":"string"}},{"name":"vendor","type":"string"},{"name":"vendor_url","type":"string"},{"name":"note","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"handle","type":"string"},{"name":"has_only_default_variant","type":"boolean"},{"name":"inventory_tracking","type":"boolean"},{"name":"inventory_policy","type":"string"},{"name":"inventory_quantity","type":"integer","format":"int64"},{"name":"spu","type":"string"},{"name":"fake_sales","type":"integer","format":"int64"},{"name":"display_fake_sales","type":"boolean"},{"name":"images","type":"array","items":{"type":"object","schema":"v202506.UpdateProductImage"}},{"name":"options","type":"array","items":{"type":"object","schema":"v202506.Option"}},{"name":"variants","type":"array","items":{"type":"object","schema":"v202506.UpdateProductVariant"}},{"name":"collection_ids","type":"array","items":{"type":"string"}},{"name":"need_variant_image","type":"boolean"},{"name":"need_shipping","type":"boolean"},{"name":"auto_publish_at","type":"string"},{"name":"category_id","type":"string"}]},"v202506.UpdateProductResponse":{"fields":[{"name":"product","type":"object","schema":"v202506.ProductRes"}]},"v202506.UpdateProductVariant":{"fields":[{"name":"id","type":"string"},{"name":"option1","type":"string"},{"name":"option2","type":"string"},{"name":"option3","type":"string"},{"name":"image","type":"object","schema":"v202506.UpdateProductImage"},{"name":"compare_at_price","type":"number","format":"double"},{"name":"price","type":"number","format":"double","minimum":0},{"name":"sku","type":"string"},{"name":"barcode","type":"string"},{"name":"note","type":"string"},{"name":"weight","type":"number","format":"double"},{"name":"weight_unit","type":"string"},{"name":"cost_price","type":"number","format":"double"},{"name":"wholesale_price","type":"array","items":{"type":"object","schema":"v202506.UpdateWholePrice"}},{"name":"whole_prices","type":"array","items":{"type":"object","schema":"v202506.UpdateWholePrice"}},{"name":"retail_price","type":"number","format":"double"},{"name":"image_id","type":"string"},{"name":"extend","type":"object","schema":"v202506.ExtendParam"},{"name":"inventory_quantity","type":"integer","format":"int64"}]},"v202506.UpdateRecurringApplicationChargeResponse":{"fields":[{"name":"recurring_application_charge","type":"object","schema":"v202506.RecurringApplicationCharge"}]},"v202506.UpdateShippingAreaParam":{"fields":[{"name":"country_name","type":"string","required":true,"min_length":1},{"name":"country_code","type":"string","required":true,"min_length":1},{"name":"province_codes","type":"array","items":{"type":"string"},"min_length":1}]},"v202506.UpdateShippingParam":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string","required":true,"min_length":1},{"name":"support_cod","type":"integer","format":"int32"},{"name":"plans","type":"array","items":{"type":"object","schema":"v202506.UpdateShippingPlanParam"},"min_length":1},{"name":"areas","type":"array","items":{"type":"object","schema":"v202506.UpdateShippingAreaParam"},"min_length":1}]},"v202506.UpdateShippingPlanParam":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string","required":true,"min_length":1},{"name":"desc","type":"string"},{"name":"rule_type","type":"string"},{"name":"rule_range_min","type":"string"},{"name":"rule_range_max","type":"string"},{"name":"rule_range_infinite","type":"integer","format":"int32"},{"name":"rule_range_unit","type":"string"},{"name":"rate_type","type":"string"},{"name":"rate_amount","type":"string"},{"name":"rate_first_range","type":"string"},{"name":"rate_first_unit","type":"string"},{"name":"rate_additional_amount","type":"string"},{"name":"rate_additional_unit","type":"string"},{"name":"rate_additional_range","type":"string"},{"name":"plan_type","type":"integer","format":"int32"},{"name":"plan_type_value","type":"string"},{"name":"rule_type_scope","type":"integer","format":"int32"}]},"v202506.UpdateShippingZoneResponse":{"fields":[{"name":"shipping","type":"object","schema":"v202506.ShippingSchemasShipping"}]},"v202506.UpdateShopMetafieldResponse":{"fields":[{"name":"metafield","type":"object","schema":"v202506.Metafield"}]},"v202506.UpdateShopParam":{"fields":[{"name":"customer_email","type":"string"}]},"v202506.UpdateShopResponse":{"fields":[{"name":"account","type":"string"},{"name":"address1","type":"string"},{"name":"address2","type":"string"},{"name":"city","type":"string"},{"name":"country_code","type":"string"},{"name":"created_at","type":"string"},{"name":"currency","type":"string"},{"name":"customer_email","type":"string"},{"name":"domain","type":"string"},{"name":"email","type":"string"},{"name":"icon","type":"object","schema":"v202506.Icon"},{"name":"subscription","type":"object","schema":"v202506.SubscriptionStatus"},{"name":"id","type":"integer","format":"int32"},{"name":"name","type":"string"},{"name":"phone","type":"string"},{"name":"primary_locale","type":"string"},{"name":"province_code","type":"string"},{"name":"root_url","type":"string"},{"name":"shop_owner","type":"string"},{"name":"state","type":"string"},{"name":"system_domain","type":"string"},{"name":"timezone","type":"string"},{"name":"updated_at","type":"string"},{"name":"zip","type":"string"}]},"v202506.UpdateSupplierParam":{"fields":[{"name":"url","type":"string","required":true}]},"v202506.UpdateSupplierResponse":{"fields":[{"name":"supplier","type":"object","schema":"v202506.Supplier"}]},"v202506.UpdateThemeFileParam":{"fields":[{"name":"type","type":"string","required":true,"min_length":1},{"name":"location","type":"string","required":true,"min_length":1},{"name":"content","type":"string","required":true,"min_length":1}]},"v202506.UpdateThemeFileResponse":{},"v202506.UpdateUrlRedirectParam":{"fields":[{"name":"from_url","type":"string","required":true,"min_length":1},{"name":"redirect_url","type":"string","required":true,"min_length":1},{"name":"status","type":"string","required":true}]},"v202506.UpdateUrlRedirectResponse":{},"v202506.UpdateVariantBySkuResponse":{"fields":[{"name":"variants","type":"array","items":{"type":"object","schema":"v202506.VariantParam"}}]},"v202506.UpdateVariantImage":{"fields":[{"name":"src","type":"string","required":true,"min_length":1},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"},{"name":"path","type":"string"}]},"v202506.UpdateVariantParam":{"fields":[{"name":"option1","type":"string"},{"name":"option2","type":"string"},{"name":"option3","type":"string"},{"name":"image_id","type":"string"},{"name":"image","type":"object","schema":"v202506.UpdateVariantImage"},{"name":"compare_at_price","type":"number","format":"double"},{"name":"price","type":"number","format":"double","required":true,"minimum":0},{"name":"sku","type":"string"},{"name":"barcode","type":"string"},{"name":"note","type":"string"},{"name":"inventory_quantity","type":"integer","format":"int64"},{"name":"weight","type":"number","format":"double"},{"name":"weight_unit","type":"string"},{"name":"cost_price","type":"number","format":"double"},{"name":"wholesale_price","type":"array","items":{"type":"object","schema":"v202506.UpdateWholePrice"}},{"name":"whole_prices","type":"array","items":{"type":"object","schema":"v202506.UpdateWholePrice"}},{"name":"retail_price","type":"number","format":"double"},{"name":"position","type":"integer","format":"int64"},{"name":"extend","type":"object","schema":"v202506.ExtendParam"}]},"v202506.UpdateVariantParamBySKU":{"fields":[{"name":"compare_at_price","type":"number","format":"double"},{"name":"price","type":"number","format":"double","required":true,"minimum":0},{"name":"barcode","type":"string"},{"name":"note","type":"string"},{"name":"inventory_quantity","type":"integer","format":"int64"},{"name":"weight","type":"number","format":"double"},{"name":"weight_unit","type":"string"},{"name":"cost_price","type":"number","format":"double"},{"name":"retail_price","type":"number","format":"double"}]},"v202506.UpdateVariantResponse":{"fields":[{"name":"variant","type":"object","schema":"v202506.VariantParam"}]},"v202506.UpdateWebhookParam":{"fields":[{"name":"address","type":"string","min_length":1},{"name":"topic","type":"string","min_length":1}]},"v202506.UpdateWebhookResponse":{"fields":[{"name":"webhook","type":"object","schema":"v202506.WebhookParam"}]},"v202506.UpdateWholePrice":{"fields":[{"name":"price","type":"number","format":"double","minimum":0},{"name":"min_quantity","type":"integer","format":"int64","minimum":0}]},"v202506.UpgradeThemeResponse":{"fields":[{"name":"theme_id","type":"string"}]},"v202506.UrlRedirect":{"fields":[{"name":"id","type":"integer","format":"int64"},{"name":"store_id","type":"integer","format":"int32"},{"name":"status","type":"string"},{"name":"from_url","type":"string"},{"name":"redirect_url","type":"string"}]},"v202506.UsageCharge":{"fields":[{"name":"id","type":"string"},{"name":"price","type":"string"},{"name":"description","type":"string"},{"name":"balance_used","type":"string"},{"name":"balance_remaining","type":"string"},{"name":"created_at","type":"string"}]},"v202506.VariantExtend":{"fields":[{"name":"length","type":"number","format":"double"},{"name":"width","type":"number","format":"double"},{"name":"height","type":"number","format":"double"},{"name":"dimension_unit","type":"string"},{"name":"origin_country_code","type":"string"},{"name":"hs_code","type":"string"}]},"v202506.VariantInventory":{"fields":[{"name":"variant_id","type":"string"},{"name":"location_items","type":"array","items":{"type":"object","schema":"v202506.LocationItem"}}]},"v202506.VariantInventoryItem":{"fields":[{"name":"inventory_item_id","type":"string"},{"name":"variant_id","type":"string"}]},"v202506.VariantParam":{"fields":[{"name":"id","type":"string"},{"name":"product_id","type":"string"},{"name":"image_id","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"title","type":"string"},{"name":"option1","type":"string"},{"name":"option2","type":"string"},{"name":"option3","type":"string"},{"name":"image","type":"object","schema":"v202506.ImageParam"},{"name":"position","type":"integer","format":"int64"},{"name":"compare_at_price","type":"number","format":"double"},{"name":"price","type":"number","format":"double"},{"name":"sku","type":"string"},{"name":"barcode","type":"string"},{"name":"note","type":"string"},{"name":"inventory_quantity","type":"integer","format":"int64"},{"name":"weight","type":"number","format":"double"},{"name":"weight_unit","type":"string"},{"name":"cost_price","type":"number","format":"double"},{"name":"wholesale_price","type":"array","items":{"type":"object","schema":"v202506.WholePrice"}},{"name":"whole_prices","type":"array","items":{"type":"object","schema":"v202506.WholePrice"}},{"name":"retail_price","type":"number","format":"double"},{"name":"is_discount","type":"boolean"},{"name":"origin_price","type":"number","format":"double"},{"name":"extend","type":"object","schema":"v202506.Extend"}]},"v202506.WebhookParam":{"fields":[{"name":"id","type":"string"},{"name":"address","type":"string"},{"name":"topic","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"format","type":"string"}]},"v202506.WholePrice":{"fields":[{"name":"price","type":"number","format":"double","required":true,"minimum":0},{"name":"min_quantity","type":"integer","format":"int64","required":true,"minimum":0}]},"v202601.AddLanguagesResponse":{},"v202601.AddMarketProductsResponse":{},"v202601.AdditionItem":{"fields":[{"name":"name","type":"string"},{"name":"val","type":"string"}]},"v202601.AdditionalPrice":{"fields":[{"name":"name","type":"string"},{"name":"price","type":"string"},{"name":"biz_id","type":"string"},{"name":"fee_title","type":"string"}]},"v202601.AsyncCreateCollectionResponse":{"fields":[{"name":"async_task_id","type":"string"},{"name":"error_message","type":"string"},{"name":"collection","type":"object","schema":"v202601.Collection"}]},"v202601.AsyncTask":{"fields":[{"name":"id","type":"string"},{"name":"source_id","type":"string"},{"name":"task_type","type":"string"},{"name":"state","type":"string"},{"name":"message","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"task_data","type":"object","schema":"google.protobuf.Any"}]},"v202601.AsyncUpdateSmartCollectionRuleResponse":{"fields":[{"name":"async_task_id","type":"string"},{"name":"collection","type":"object","schema":"v202601.Collection"}]},"v202601.BatchDeleteProductsResponse":{},"v202601.BatchListTransactionsResponse":{"fields":[{"name":"transactions","type":"array","items":{"type":"object","schema":"v202506.Transaction"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"total","type":"integer","format":"int32"}]},"v202601.BatchThemeOperationsResponse":{"fields":[{"name":"data","type":"array","items":{"type":"object","schema":"v202601.ThemeOperationResult"}}]},"v202601.BillingAddressParam":{"fields":[{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"email","type":"string"},{"name":"country","type":"string"},{"name":"country_code","type":"string"},{"name":"province","type":"string"},{"name":"province_code","type":"string"},{"name":"area","type":"string"},{"name":"city","type":"string"},{"name":"address","type":"string"},{"name":"address1","type":"string"},{"name":"company","type":"string"},{"name":"longitude","type":"string"},{"name":"latitude","type":"string"},{"name":"zip","type":"string"},{"name":"source","type":"string"},{"name":"tags","type":"string"},{"name":"phone","type":"string"},{"name":"phone_area_code","type":"string"}]},"v202601.Blog":{"fields":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"handle","type":"string"},{"name":"seo_title","type":"string"},{"name":"seo_description","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"article_count","type":"integer","format":"int32"}]},"v202601.BusinessInfo":{"fields":[{"name":"time_remark","type":"string"}]},"v202601.CancelFulfillmentResponse":{"fields":[{"name":"fulfillment","type":"object","schema":"v202601.FulfillmentSummary"}]},"v202601.Card":{"fields":[{"name":"id","type":"string"},{"name":"source","type":"string"},{"name":"name","type":"object","schema":"google.protobuf.Value"},{"name":"category","type":"string"},{"name":"second_category","type":"string"},{"name":"description","type":"string"},{"name":"preview_image","type":"string"},{"name":"updated_at","type":"string"},{"name":"templates","type":"array","items":{"type":"string"}},{"name":"limit","type":"integer","format":"int32"}]},"v202601.CardGroup":{"fields":[{"name":"group_key","type":"integer","format":"int32"},{"name":"group_name","type":"string"},{"name":"groups","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"}}]},"v202601.CheckEditSessionResponse":{"fields":[{"name":"conflict","type":"boolean"}]},"v202601.Collection":{"fields":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"handle","type":"string"},{"name":"smart","type":"boolean"},{"name":"image","type":"object","schema":"v202601.Image"},{"name":"seo_title","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"seo_description","type":"string"},{"name":"sort_order","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"match_rules","type":"object","schema":"v202601.MatchRule"},{"name":"tags","type":"array","items":{"type":"string"}},{"name":"product_count","type":"integer","format":"int64"}]},"v202601.CollectionImageParam":{"fields":[{"name":"src","type":"string","required":true,"min_length":1},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"}]},"v202601.CompleteFulfillmentResponse":{"fields":[{"name":"fulfillment","type":"object","schema":"v202601.FulfillmentSummary"}]},"v202601.Config":{"fields":[{"name":"page_type","type":"string"},{"name":"requires_shipping","type":"boolean"},{"name":"product_tax_included","type":"boolean"},{"name":"market_setting","type":"object","schema":"v202601.MarketSetting"}]},"v202601.ConfigurableMarket":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"is_primary","type":"boolean"},{"name":"market_status","type":"string"},{"name":"language_manageable","type":"boolean"}]},"v202601.CopyThemeResponse":{"fields":[{"name":"data","type":"object","schema":"google.protobuf.Struct"}]},"v202601.CreateCollectionParam":{"fields":[{"name":"title","type":"string","required":true,"min_length":1},{"name":"handle","type":"string"},{"name":"description","type":"string"},{"name":"image","type":"object","schema":"v202601.CollectionImageParam"},{"name":"seo_title","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"seo_description","type":"string"},{"name":"sort_order","type":"string","default":"manual","min_length":1},{"name":"product_ids","type":"array","items":{"type":"string"}},{"name":"smart","type":"boolean"},{"name":"match_rules","type":"object","schema":"v202601.MatchRuleParam"},{"name":"tags","type":"array","items":{"type":"string"}}]},"v202601.CreateCollectionResponse":{"fields":[{"name":"collection","type":"object","schema":"v202601.Collection"}]},"v202601.CreateEditSessionResponse":{"fields":[{"name":"oseid","type":"string"}]},"v202601.CreateFulfillmentResponse":{"fields":[{"name":"fulfillment","type":"object","schema":"v202601.FulfillmentSummary"}]},"v202601.CreateGenBlockResponse":{"fields":[{"name":"revert_id","type":"string"},{"name":"settings","type":"object","schema":"google.protobuf.Struct"}]},"v202601.CreateMarketResponse":{"fields":[{"name":"market","type":"object","schema":"v202601.Market"}]},"v202601.CreateMenuResponse":{"fields":[{"name":"menu","type":"object","schema":"google.protobuf.Struct"}]},"v202601.CreateOrderLineItemParam":{"fields":[{"name":"product_id","type":"string"},{"name":"variant_id","type":"string"},{"name":"quantity","type":"integer","format":"int32","required":true},{"name":"price","type":"string","min_length":1},{"name":"use_discount","type":"boolean"},{"name":"product_title","type":"string"},{"name":"total_price","type":"string"}]},"v202601.CreateOrderParam":{"fields":[{"name":"line_items","type":"array","items":{"type":"object","schema":"v202601.CreateOrderLineItemParam"},"required":true,"min_length":1},{"name":"shipping_address","type":"object","schema":"v202601.CreateOrderShippingAddressParam","required":true},{"name":"shipping_line","type":"object","schema":"v202601.CreateOrderShippingLineParam","required":true},{"name":"tax_total","type":"string","required":true,"min_length":1},{"name":"currency_code","type":"string","required":true,"min_length":1},{"name":"tags","type":"array","items":{"type":"string"}},{"name":"discount","type":"string"},{"name":"note","type":"string"},{"name":"payment_line","type":"string"},{"name":"config","type":"string"},{"name":"discount_application","type":"object","schema":"v202601.DiscountApplication"},{"name":"order_confirm_notify","type":"integer","format":"int32","minimum":0,"maximum":2},{"name":"fulfillment_notify","type":"integer","format":"int32","minimum":0,"maximum":2},{"name":"partial_fulfillment_notify","type":"integer","format":"int32","minimum":0,"maximum":2},{"name":"order_delivered_notify","type":"integer","format":"int32","minimum":0,"maximum":2},{"name":"custom_fields","type":"object","items":{"type":"string"}}]},"v202601.CreateOrderResponse":{"fields":[{"name":"order","type":"object","schema":"v202601.Order"}]},"v202601.CreateOrderShippingAddressParam":{"fields":[{"name":"first_name","type":"string"},{"name":"last_name","type":"string","required":true,"min_length":1},{"name":"email","type":"string","required":true,"min_length":1},{"name":"phone_area_code","type":"string"},{"name":"phone","type":"string"},{"name":"country","type":"string"},{"name":"country_code","type":"string","required":true,"min_length":1},{"name":"province","type":"string","required":true,"min_length":1},{"name":"province_code","type":"string","required":true,"min_length":1},{"name":"area","type":"string"},{"name":"city","type":"string","required":true,"min_length":1},{"name":"address","type":"string","required":true,"min_length":1},{"name":"address1","type":"string"},{"name":"company","type":"string"},{"name":"zip","type":"string","required":true,"min_length":1},{"name":"cpf","type":"string"}]},"v202601.CreateOrderShippingLineParam":{"fields":[{"name":"shipping_name","type":"string","required":true,"min_length":1},{"name":"shipping_desc","type":"string"},{"name":"shipping_price","type":"string","required":true,"min_length":1},{"name":"delivery_method","type":"integer","format":"int32"},{"name":"business_info","type":"object","schema":"v202601.BusinessInfo"}]},"v202601.CreateThemeTemplateFrontQueryParams":{"fields":[{"name":"search_keyword","type":"string"},{"name":"collection_id","type":"string"}]},"v202601.CreateThemeTemplateResponse":{"fields":[{"name":"theme_template","type":"object","schema":"v202601.ThemeTemplate"}]},"v202601.CurrencySymbol":{"fields":[{"name":"code","type":"string"},{"name":"val","type":"string"},{"name":"left","type":"string"},{"name":"right","type":"string"}]},"v202601.DataBySearchKeyword":{"fields":[{"name":"item","type":"string"},{"name":"count","type":"integer","format":"int64"},{"name":"percent","type":"number","format":"double"},{"name":"uv","type":"integer","format":"int64"},{"name":"has_result","type":"integer","format":"int32"},{"name":"click_rate","type":"number","format":"double"}]},"v202601.DataByTrafficChannel":{"fields":[{"name":"last_referrer_first_show","type":"string"},{"name":"last_referrer_show","type":"string"},{"name":"uv","type":"string"},{"name":"uv_original","type":"integer","format":"int64"},{"name":"sales","type":"string"},{"name":"sales_original","type":"number","format":"double"},{"name":"orders","type":"string"},{"name":"orders_original","type":"integer","format":"int64"},{"name":"uv_rate","type":"string"},{"name":"uv_rate_original","type":"number","format":"double"},{"name":"sales_rate","type":"string"},{"name":"sales_rate_original","type":"number","format":"double"},{"name":"orders_rate","type":"string"},{"name":"orders_rate_original","type":"number","format":"double"}]},"v202601.DeleteCollectionResponse":{},"v202601.DeleteGenBlockResponse":{"fields":[{"name":"revert_id","type":"string"}]},"v202601.DeleteLanguageResponse":{},"v202601.DeleteMarketProductsResponse":{},"v202601.DeleteMarketResponse":{},"v202601.DeleteMenuResponse":{"fields":[{"name":"state","type":"integer","format":"int32"},{"name":"msg","type":"string"}]},"v202601.DeletePbTemplateResponse":{"fields":[{"name":"data","type":"object","schema":"google.protobuf.Struct"}]},"v202601.DeleteThemeTemplateResponse":{},"v202601.DisableLanguageResponse":{},"v202601.DisableThemeAppResponse":{},"v202601.DiscountApplication":{"fields":[{"name":"discount_code","type":"string"},{"name":"title","type":"string"}]},"v202601.EditSessionConfigItem":{"fields":[{"name":"id","type":"integer","format":"int64"},{"name":"settings","type":"object","schema":"google.protobuf.Struct"},{"name":"with_hook_set","type":"boolean"}]},"v202601.EditSessionFile":{"fields":[{"name":"id","type":"string"},{"name":"theme_id","type":"string"},{"name":"type","type":"string"},{"name":"location","type":"string"},{"name":"content","type":"string"},{"name":"oseid","type":"string"}]},"v202601.EditSessionGlobalConfig":{"fields":[{"name":"libs","type":"string"}]},"v202601.EnableLanguageResponse":{},"v202601.EnableThemeAppResponse":{},"v202601.ExtraInfo":{"fields":[{"name":"addition","type":"object","items":{"type":"object","schema":"v202601.AdditionItem"}},{"name":"cpf","type":"string"},{"name":"tax_text","type":"string"},{"name":"id_number","type":"string"},{"name":"id_number_text","type":"string"}]},"v202601.FinishRefundResponse":{"fields":[{"name":"order_id","type":"string"},{"name":"post_sale_id","type":"string"},{"name":"refund_record","type":"object","schema":"v202601.V202601RefundRecord"}]},"v202601.Fulfillment":{"fields":[{"name":"id","type":"string"},{"name":"order_id","type":"string"},{"name":"status","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"tracking_company","type":"string"},{"name":"tracking_number","type":"string"},{"name":"tracking_company_code","type":"string"},{"name":"line_items","type":"array","items":{"type":"object","schema":"v202506.LineItem"}},{"name":"tracking_url","type":"string"},{"name":"phone_number","type":"string"},{"name":"tracking_items","type":"array","items":{"type":"object","schema":"v202601.TrackingItem"}}]},"v202601.FulfillmentSummary":{"fields":[{"name":"id","type":"string"},{"name":"order_id","type":"string"},{"name":"status","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"tracking_company","type":"string"},{"name":"tracking_number","type":"string"},{"name":"tracking_company_code","type":"string"},{"name":"line_items","type":"array","items":{"type":"object","schema":"v202506.LineItem"}},{"name":"tracking_url","type":"string"},{"name":"phone_number","type":"string"}]},"v202601.GenBlockDoc":{"fields":[{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"location","type":"string"},{"name":"hash","type":"string"},{"name":"content","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202601.GetCollectionAsyncTaskResponse":{"fields":[{"name":"async_task","type":"object","schema":"v202601.AsyncTask"}]},"v202601.GetCollectionCountResponse":{"fields":[{"name":"Count","type":"integer","format":"int32"}]},"v202601.GetCollectionResponse":{"fields":[{"name":"collection","type":"object","schema":"v202601.Collection"}]},"v202601.GetDataAnalysisSearchKeywordResponse":{"fields":[{"name":"count","type":"integer","format":"int32"},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"data","type":"array","items":{"type":"object","schema":"v202601.DataBySearchKeyword"}}]},"v202601.GetDataAnalysisTrafficChannelOptionsResponse":{"fields":[{"name":"traffic_channels","type":"array","items":{"type":"object","schema":"v202601.TrafficChannelOption"}}]},"v202601.GetDataAnalysisTrafficChannelResponse":{"fields":[{"name":"count","type":"integer","format":"int32"},{"name":"last_updated_at","type":"string"},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"data","type":"array","items":{"type":"object","schema":"v202601.DataByTrafficChannel"}},{"name":"summary","type":"object","schema":"v202601.DataByTrafficChannel"}]},"v202601.GetEditSessionFileResponse":{"fields":[{"name":"template","type":"object","schema":"v202601.EditSessionFile"}]},"v202601.GetFulfillmentResponse":{"fields":[{"name":"fulfillment","type":"object","schema":"v202601.Fulfillment"}]},"v202601.GetGenBlockResponse":{"fields":[{"name":"doc","type":"object","schema":"v202601.GenBlockDoc"},{"name":"saved","type":"boolean"},{"name":"ref_count","type":"integer","format":"int32"},{"name":"instances","type":"object","schema":"google.protobuf.Struct"}]},"v202601.GetMarketResponse":{"fields":[{"name":"market","type":"object","schema":"v202601.Market"}]},"v202601.GetMerchantThemesResponse":{"fields":[{"name":"merchant_themes","type":"array","items":{"type":"object","schema":"v202601.MerchantTheme"}},{"name":"total","type":"integer","format":"int32"},{"name":"total_pages","type":"integer","format":"int32"},{"name":"current_page","type":"integer","format":"int32"},{"name":"limit","type":"integer","format":"int32"}]},"v202601.GetOrderByNumberResponse":{"fields":[{"name":"order","type":"object","schema":"v202601.Order"}]},"v202601.GetOrderCountResponse":{"fields":[{"name":"count","type":"integer","format":"int32"}]},"v202601.GetOrderResponse":{"fields":[{"name":"order","type":"object","schema":"v202601.Order"}]},"v202601.GetPageBuilderBlocksResponse":{"fields":[{"name":"blocks","type":"object","schema":"google.protobuf.Struct"}]},"v202601.GetSectionCardResponse":{"fields":[{"name":"data","type":"object","schema":"google.protobuf.Struct"}]},"v202601.GetThemeGlobalConfigResponse":{"fields":[{"name":"data","type":"object","schema":"google.protobuf.Struct"}]},"v202601.Image":{"fields":[{"name":"src","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"alt","type":"string"}]},"v202601.InstallMerchantThemeResponse":{"fields":[{"name":"data","type":"object","schema":"google.protobuf.Struct"}]},"v202601.Language":{"fields":[{"name":"code","type":"string"},{"name":"name","type":"string"},{"name":"is_enabled","type":"boolean"},{"name":"markets","type":"array","items":{"type":"object","schema":"v202601.LanguageMarket"}}]},"v202601.LanguageMarket":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"}]},"v202601.ListArticleResponse":{"fields":[{"name":"articles","type":"array","items":{"type":"object","schema":"v202506.Article"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"count","type":"integer","format":"int32"}]},"v202601.ListBlogResponse":{"fields":[{"name":"blogs","type":"array","items":{"type":"object","schema":"v202601.Blog"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"count","type":"integer","format":"int32"}]},"v202601.ListCollectionResponse":{"fields":[{"name":"collections","type":"array","items":{"type":"object","schema":"v202601.Collection"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"total","type":"integer","format":"int32"}]},"v202601.ListEditSessionCardsResponse":{"fields":[{"name":"card_list","type":"array","items":{"type":"object","schema":"v202601.CardGroup"}},{"name":"block_list","type":"array","items":{"type":"object","schema":"v202601.CardGroup"}},{"name":"gen_list","type":"array","items":{"type":"object","schema":"v202601.CardGroup"}}]},"v202601.ListFulfillmentResponse":{"fields":[{"name":"fulfillments","type":"array","items":{"type":"object","schema":"v202601.FulfillmentSummary"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202601.ListLanguageMarketsResponse":{"fields":[{"name":"markets","type":"array","items":{"type":"object","schema":"v202601.ConfigurableMarket"}}]},"v202601.ListLanguagesResponse":{"fields":[{"name":"languages","type":"array","items":{"type":"object","schema":"v202601.Language"}}]},"v202601.ListMarketLanguagesResponse":{"fields":[{"name":"languages","type":"array","items":{"type":"object","schema":"v202601.MarketLanguage"}}]},"v202601.ListMarketProductsResponse":{"fields":[{"name":"total_count","type":"integer","format":"int64"},{"name":"included_count","type":"integer","format":"int64"},{"name":"excluded_count","type":"integer","format":"int64"},{"name":"currency","type":"string"},{"name":"symbol","type":"object","schema":"v202601.MarketCurrencySymbol"},{"name":"products","type":"array","items":{"type":"object","schema":"v202601.MarketProduct"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202601.ListMarketsResponse":{"fields":[{"name":"markets","type":"array","items":{"type":"object","schema":"v202601.MarketListItem"}}]},"v202601.ListMenusResponse":{"fields":[{"name":"menus","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"}},{"name":"total","type":"integer","format":"int32"},{"name":"page","type":"integer","format":"int32"},{"name":"limit","type":"integer","format":"int32"},{"name":"has_more","type":"boolean"}]},"v202601.ListOrderResponse":{"fields":[{"name":"orders","type":"array","items":{"type":"object","schema":"v202601.Order"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"}]},"v202601.ListPublicBlockResponse":{"fields":[{"name":"apps","type":"array","items":{"type":"object","schema":"v202601.PublicBlockApp"}}]},"v202601.ListSectionCardsResponse":{"fields":[{"name":"data","type":"object","schema":"google.protobuf.Struct"}]},"v202601.ListSupportedLanguagesResponse":{"fields":[{"name":"languages","type":"array","items":{"type":"object","schema":"v202601.SupportedLanguage"}}]},"v202601.ListThemeAppsResponse":{"fields":[{"name":"app_embeds","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"}},{"name":"script_tag_apps","type":"array","items":{"type":"object","schema":"v202601.ScriptTagGroup"}}]},"v202601.ListThemeCardsResponse":{"fields":[{"name":"items","type":"array","items":{"type":"object","schema":"v202601.Card"}},{"name":"total","type":"integer","format":"int32"},{"name":"page","type":"integer","format":"int32"},{"name":"limit","type":"integer","format":"int32"},{"name":"has_more","type":"boolean"}]},"v202601.ListThemeExtensionResponse":{"fields":[{"name":"apps","type":"array","items":{"type":"object","schema":"v202601.ThemeExtensionApp"}}]},"v202601.ListThemeTemplateResponse":{"fields":[{"name":"count","type":"integer","format":"int32"},{"name":"theme_templates","type":"array","items":{"type":"object","schema":"v202601.ThemeTemplate"}}]},"v202601.LocationLine":{"fields":[{"name":"id","type":"string"},{"name":"location_id","type":"string"},{"name":"location_name","type":"string"}]},"v202601.Market":{"fields":[{"name":"id","type":"string"},{"name":"market_name","type":"string"},{"name":"is_primary","type":"boolean"},{"name":"is_default","type":"boolean"},{"name":"market_status","type":"string"},{"name":"currency","type":"string"},{"name":"symbol","type":"object","schema":"v202601.MarketCurrencySymbol"},{"name":"domain_type","type":"string"},{"name":"domain_value","type":"string"},{"name":"custom_rate_enabled","type":"boolean"},{"name":"custom_exchange_rate","type":"number","format":"double"},{"name":"price_adjust","type":"integer","format":"int64"},{"name":"local_currency_enabled","type":"boolean"},{"name":"product_tax_included","type":"boolean"},{"name":"default_language","type":"string"},{"name":"countries","type":"array","items":{"type":"string"}},{"name":"languages","type":"array","items":{"type":"object","schema":"v202601.MarketLanguage"}},{"name":"language_manageable","type":"boolean"},{"name":"url","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"actual_rate","type":"number","format":"double"},{"name":"exchange_rate","type":"object","schema":"v202601.MarketExchangeRate"},{"name":"back_exchange_rate","type":"object","schema":"v202601.MarketExchangeRate"},{"name":"setting","type":"object","schema":"v202601.MarketStorefrontSetting"},{"name":"delivery_country_limited","type":"boolean"}]},"v202601.MarketCountry":{"fields":[{"name":"name","type":"string"},{"name":"cn_name","type":"string"},{"name":"continent","type":"string"},{"name":"flag","type":"string"},{"name":"iso_code_2","type":"string"},{"name":"iso_code_3","type":"string"}]},"v202601.MarketCountryCurrencyDetail":{"fields":[{"name":"country_code","type":"string"},{"name":"currency","type":"string"},{"name":"symbol","type":"object","schema":"v202601.MarketCurrencySymbol"},{"name":"detail","type":"object","schema":"v202601.MarketCountry"}]},"v202601.MarketCurrencySymbol":{"fields":[{"name":"val","type":"string"},{"name":"left","type":"string"},{"name":"right","type":"string"},{"name":"cn_name","type":"string"},{"name":"title","type":"string"},{"name":"code","type":"string"}]},"v202601.MarketDeletionItem":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"}]},"v202601.MarketExchangeRate":{"fields":[{"name":"currency","type":"string"},{"name":"to_currency","type":"string"},{"name":"rate","type":"number","format":"double"},{"name":"last_updated_at","type":"string"}]},"v202601.MarketLanguage":{"fields":[{"name":"code","type":"string"},{"name":"name","type":"string"},{"name":"is_enabled","type":"boolean"},{"name":"url","type":"string"},{"name":"is_default","type":"boolean"}]},"v202601.MarketListItem":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"is_primary","type":"boolean"},{"name":"is_default","type":"boolean"},{"name":"market_status","type":"string"},{"name":"countries","type":"array","items":{"type":"string"}},{"name":"currency","type":"string"},{"name":"symbol","type":"object","schema":"v202601.MarketCurrencySymbol"},{"name":"local_currency_enabled","type":"boolean"},{"name":"countries_detail","type":"array","items":{"type":"object","schema":"v202601.MarketCountryCurrencyDetail"}}]},"v202601.MarketPrice":{"fields":[{"name":"compare_at_price","type":"string"},{"name":"price","type":"string"},{"name":"total_price","type":"string"},{"name":"actual_rate","type":"string"}]},"v202601.MarketPriceSetting":{"fields":[{"name":"local_currency_enabled","type":"boolean"},{"name":"custom_rate_enabled","type":"boolean"},{"name":"custom_rate","type":"number","format":"float"},{"name":"rate","type":"number","format":"float"},{"name":"back_rate","type":"number","format":"float"},{"name":"actual_rate","type":"number","format":"float"},{"name":"base_to_rate","type":"number","format":"float"},{"name":"local_to_rate","type":"number","format":"float"},{"name":"adjust","type":"integer","format":"int32"},{"name":"price_round_enabled","type":"boolean"}]},"v202601.MarketProduct":{"fields":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"price_min","type":"string"},{"name":"price_max","type":"string"},{"name":"image","type":"object","schema":"v202601.MarketProductImage"},{"name":"is_excluded","type":"boolean"},{"name":"total_fixed_price","type":"integer","format":"int32"},{"name":"total_variants","type":"integer","format":"int32"}]},"v202601.MarketProductImage":{"fields":[{"name":"src","type":"string"},{"name":"alt","type":"string"},{"name":"width","type":"integer","format":"int32"},{"name":"height","type":"integer","format":"int32"},{"name":"path","type":"string"}]},"v202601.MarketProductPriceItem":{"fields":[{"name":"id","type":"string","required":true},{"name":"operation","type":"string","required":true},{"name":"fixed_price","type":"string"}]},"v202601.MarketSetting":{"fields":[{"name":"primary_market_lang","type":"string"},{"name":"market_lang","type":"string"},{"name":"market_id","type":"string"},{"name":"market_currency","type":"string"},{"name":"market_currency_symbol","type":"object","schema":"v202601.CurrencySymbol"},{"name":"market_base_id","type":"string"},{"name":"market_base_currency","type":"string"},{"name":"market_base_currency_symbol","type":"object","schema":"v202601.CurrencySymbol"},{"name":"primary_market_id","type":"string"},{"name":"primary_market_currency","type":"string"},{"name":"primary_market_currency_symbol","type":"object","schema":"v202601.CurrencySymbol"},{"name":"market_price_setting","type":"object","schema":"v202601.MarketPriceSetting"},{"name":"market_country","type":"string"}]},"v202601.MarketStorefrontSetting":{"fields":[{"name":"redirect_enabled","type":"boolean"},{"name":"price_round_enabled","type":"boolean"},{"name":"geolocation_app_installed","type":"boolean"},{"name":"language_selector_enabled","type":"boolean"}]},"v202601.MatchRule":{"fields":[{"name":"disjunctive","type":"boolean"},{"name":"rule_modules","type":"array","items":{"type":"object","schema":"v202601.RuleModule"}}]},"v202601.MatchRuleParam":{"fields":[{"name":"disjunctive","type":"boolean"},{"name":"rule_modules","type":"array","items":{"type":"object","schema":"v202601.RuleModuleParam"}}]},"v202601.MerchantTheme":{"fields":[{"name":"id","type":"string"},{"name":"remote_theme_id","type":"string"},{"name":"name","type":"string"},{"name":"type","type":"string"},{"name":"category","type":"string"},{"name":"desc","type":"string"},{"name":"preset_name","type":"string"},{"name":"c_version","type":"string"},{"name":"version_publish_time","type":"string"},{"name":"created_at","type":"string"},{"name":"default","type":"string"},{"name":"is_paid","type":"boolean"},{"name":"pc_cover_url","type":"string"},{"name":"mobile_cover_url","type":"string"},{"name":"preview_url","type":"string"},{"name":"change_log","type":"string"},{"name":"exts","type":"string"},{"name":"preset_data","type":"object","schema":"google.protobuf.Struct"},{"name":"presets","type":"object","schema":"google.protobuf.Struct"},{"name":"price","type":"object","schema":"google.protobuf.ListValue"}]},"v202601.Order":{"fields":[{"name":"id","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"note","type":"string"},{"name":"number","type":"string"},{"name":"total_price","type":"string"},{"name":"sub_total","type":"string"},{"name":"currency","type":"string"},{"name":"financial_status","type":"string"},{"name":"status","type":"string"},{"name":"cancelled_at","type":"string"},{"name":"cancel_reason","type":"string"},{"name":"payment_method","type":"string"},{"name":"fulfillment_status","type":"string"},{"name":"customer_deleted_at","type":"string"},{"name":"deleted_at","type":"string"},{"name":"placed_at","type":"string"},{"name":"tags","type":"string"},{"name":"buyer_accepts_marketing","type":"boolean"},{"name":"code_discount_total","type":"string"},{"name":"customer_note","type":"string"},{"name":"total_discount","type":"string"},{"name":"total_tax","type":"string"},{"name":"total_shipping","type":"string"},{"name":"line_items","type":"array","items":{"type":"object","schema":"v202601.OrderLineItem"}},{"name":"payment_line","type":"object","schema":"v202601.PaymentLine"},{"name":"shipping_line","type":"object","schema":"v202601.ShippingLine"},{"name":"billing_address","type":"object","schema":"v202601.OrderAddress"},{"name":"shipping_address","type":"object","schema":"v202601.OrderAddress"},{"name":"fulfillments","type":"array","items":{"type":"object","schema":"v202601.OrderFulfillment"}},{"name":"customer","type":"object","schema":"v202601.OrderCustomer"},{"name":"refer_info","type":"string"},{"name":"sales_platform","type":"string"},{"name":"total_refund_price","type":"string"},{"name":"primary_market_price","type":"object","schema":"v202601.MarketPrice"},{"name":"total_tip_received","type":"string"},{"name":"discount_applications","type":"string"},{"name":"refund_status","type":"string"},{"name":"email_status","type":"string"},{"name":"recovery_status","type":"string"},{"name":"total_paid","type":"string"},{"name":"payment_lines","type":"array","items":{"type":"object","schema":"v202601.PaymentLine"}},{"name":"gift_card_total","type":"string"},{"name":"logistics_code","type":"string"},{"name":"shipping_tax_total","type":"string"},{"name":"location_line","type":"object","schema":"v202601.LocationLine"},{"name":"additional_total","type":"string"},{"name":"additional_prices","type":"array","items":{"type":"object","schema":"v202601.AdditionalPrice"}},{"name":"config","type":"object","schema":"v202601.Config"},{"name":"checkout_url","type":"string"},{"name":"duty_total","type":"string"},{"name":"order_confirm_notify","type":"integer","format":"int32"},{"name":"fulfillment_notify","type":"integer","format":"int32"},{"name":"partial_fulfillment_notify","type":"integer","format":"int32"},{"name":"order_delivered_notify","type":"integer","format":"int32"},{"name":"finished_at","type":"string"},{"name":"device","type":"string"},{"name":"order_type","type":"string"},{"name":"source","type":"string"},{"name":"source_name","type":"string"},{"name":"last_landing_url","type":"string"},{"name":"last_referrer_show","type":"string"},{"name":"browser_ip","type":"string"},{"name":"custom_fields","type":"object","items":{"type":"string"}}]},"v202601.OrderAddress":{"fields":[{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"address","type":"string"},{"name":"address1","type":"string"},{"name":"phone","type":"string"},{"name":"city","type":"string"},{"name":"zip","type":"string"},{"name":"province","type":"string"},{"name":"country","type":"string"},{"name":"company","type":"string"},{"name":"latitude","type":"string"},{"name":"longitude","type":"string"},{"name":"name","type":"string"},{"name":"country_code","type":"string"},{"name":"province_code","type":"string"},{"name":"phone_area_code","type":"string"},{"name":"email","type":"string"},{"name":"area","type":"string"},{"name":"extra_info","type":"object","schema":"v202601.ExtraInfo"}]},"v202601.OrderCustomer":{"fields":[{"name":"id","type":"string"},{"name":"email","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"phone","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"order_count","type":"integer","format":"int32"},{"name":"total_spent","type":"string"}]},"v202601.OrderFulfillment":{"fields":[{"name":"id","type":"string"},{"name":"order_id","type":"string"},{"name":"status","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"tracking_company","type":"string"},{"name":"tracking_number","type":"string"},{"name":"tracking_company_code","type":"string"},{"name":"line_items","type":"array","items":{"type":"object","schema":"v202506.LineItem"}},{"name":"tracking_url","type":"string"},{"name":"phone_number","type":"string"},{"name":"tracking_items","type":"array","items":{"type":"object","schema":"v202601.TrackingItem"}}]},"v202601.OrderLineItem":{"fields":[{"name":"id","type":"string"},{"name":"product_id","type":"string"},{"name":"product_title","type":"string"},{"name":"variant_id","type":"string"},{"name":"variant_title","type":"string"},{"name":"quantity","type":"integer","format":"uint32"},{"name":"note","type":"string"},{"name":"image","type":"object","schema":"v202506.Image"},{"name":"price","type":"string"},{"name":"compare_at_price","type":"string"},{"name":"total_price","type":"string"},{"name":"fulfillment_status","type":"string"},{"name":"sku","type":"string"},{"name":"weight","type":"string"},{"name":"weight_unit","type":"string"},{"name":"vendor","type":"string"},{"name":"product_url","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"options","type":"array","items":{"type":"object","schema":"v202506.LineItemOption"}},{"name":"product_slug","type":"string"},{"name":"taxable","type":"boolean"},{"name":"requires_shipping","type":"boolean"},{"name":"spu","type":"string"},{"name":"product_tags","type":"string"},{"name":"refund_quantity_total","type":"integer","format":"uint32"},{"name":"custom","type":"boolean"},{"name":"trunk_price","type":"string"},{"name":"discount_applications","type":"string"},{"name":"tax_price","type":"string"},{"name":"duty_price","type":"string"},{"name":"payment_discount_price","type":"string"},{"name":"custom_properties","type":"object","schema":"google.protobuf.Struct"}]},"v202601.PaymentLine":{"fields":[{"name":"id","type":"string"},{"name":"payment_name","type":"string"},{"name":"payment_channel","type":"string"},{"name":"payment_method","type":"string"},{"name":"credit_card_number","type":"string"},{"name":"trans_channel","type":"string"},{"name":"trans_method","type":"string"},{"name":"transaction_no","type":"string"},{"name":"merchant_email","type":"string"}]},"v202601.PaymentLineParam":{"fields":[{"name":"payment_method","type":"string"},{"name":"payment_channel","type":"string"},{"name":"transaction_no","type":"string","required":true,"min_length":1},{"name":"credit_card_number","type":"string"}]},"v202601.PbSummaryResponse":{"fields":[{"name":"text","type":"string"},{"name":"timings","type":"object","schema":"google.protobuf.Struct"}]},"v202601.PbUpdateResponse":{"fields":[{"name":"schema","type":"object","schema":"google.protobuf.Struct"},{"name":"text","type":"string"},{"name":"html","type":"string"},{"name":"translation","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"}},{"name":"failures","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"}},{"name":"timings","type":"object","schema":"google.protobuf.Struct"}]},"v202601.PreviewMarketResponse":{"fields":[{"name":"count","type":"integer","format":"int64"},{"name":"markets","type":"array","items":{"type":"object","schema":"v202601.MarketDeletionItem"}}]},"v202601.PromoteEditSessionResponse":{"fields":[{"name":"promoted","type":"boolean"},{"name":"conflict","type":"boolean"}]},"v202601.PublicBlockApp":{"fields":[{"name":"id","type":"string"},{"name":"blocks","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"}}]},"v202601.PublishLanguageToMarketsResponse":{},"v202601.RefundLineItem":{"fields":[{"name":"line_item_id","type":"string"},{"name":"refund_quantity","type":"integer","format":"int32"},{"name":"tax","type":"string"},{"name":"discount","type":"string"},{"name":"sub_total","type":"string"},{"name":"total","type":"string"},{"name":"delete_quantity","type":"integer","format":"int32"}]},"v202601.RefundPaymentDetail":{"fields":[{"name":"id","type":"string"},{"name":"payment_line_id","type":"string"},{"name":"payment_channel","type":"string"},{"name":"payment_method","type":"string"},{"name":"refund_price","type":"string"},{"name":"refund_status","type":"string"},{"name":"finished_at","type":"string"}]},"v202601.RefundRecordExtraInfo":{"fields":[{"name":"pos","type":"string"}]},"v202601.RemoveSectionResponse":{"fields":[{"name":"content_for_page","type":"array","items":{"type":"integer","format":"int64"}}]},"v202601.RenameThemeResponse":{"fields":[{"name":"data","type":"object","schema":"google.protobuf.Struct"}]},"v202601.RevertGenBlockResponse":{"fields":[{"name":"revert_id","type":"string"}]},"v202601.Rule":{"fields":[{"name":"column","type":"string"},{"name":"relation","type":"string"},{"name":"condition","type":"string"}]},"v202601.RuleModule":{"fields":[{"name":"disjunctive","type":"boolean"},{"name":"rules","type":"array","items":{"type":"object","schema":"v202601.Rule"}}]},"v202601.RuleModuleParam":{"fields":[{"name":"disjunctive","type":"boolean"},{"name":"rules","type":"array","items":{"type":"object","schema":"v202601.RuleParam"}}]},"v202601.RuleParam":{"fields":[{"name":"column","type":"string"},{"name":"relation","type":"string"},{"name":"condition","type":"string"}]},"v202601.SavePageBuilderBlockResponse":{"fields":[{"name":"id","type":"string"},{"name":"series_id","type":"string"},{"name":"show_templates","type":"integer","format":"int32"},{"name":"type","type":"string"},{"name":"block","type":"object","schema":"google.protobuf.Struct"}]},"v202601.SavePbTemplateResponse":{"fields":[{"name":"id","type":"string"},{"name":"series_id","type":"string"},{"name":"show_templates","type":"integer","format":"int32"}]},"v202601.ScriptTagAppInfo":{"fields":[{"name":"id","type":"integer","format":"int64"},{"name":"icon","type":"string"},{"name":"uid","type":"string"},{"name":"name","type":"string"},{"name":"title","type":"string"},{"name":"link","type":"string"},{"name":"subtitle","type":"string"},{"name":"installed_at","type":"string"}]},"v202601.ScriptTagGroup":{"fields":[{"name":"app_info","type":"object","schema":"v202601.ScriptTagAppInfo"},{"name":"script_tags","type":"array","items":{"type":"object","schema":"v202601.ScriptTagInfo"}}]},"v202601.ScriptTagInfo":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"app_id","type":"string"},{"name":"source","type":"string"},{"name":"device","type":"string"},{"name":"display_scope","type":"string"},{"name":"event_type","type":"string"},{"name":"src","type":"string"},{"name":"status","type":"string"},{"name":"position","type":"string"},{"name":"store_id","type":"string"},{"name":"store_domain","type":"string"},{"name":"event_period","type":"string"},{"name":"env","type":"string"},{"name":"exclude_ids","type":"string"},{"name":"weight","type":"string"},{"name":"started_at","type":"string"},{"name":"ended_at","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"}]},"v202601.SetSectionPropsResponse":{"fields":[{"name":"section","type":"object","schema":"google.protobuf.Struct"},{"name":"html","type":"string"}]},"v202601.ShippingLine":{"fields":[{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"desc","type":"string"},{"name":"delivery_method","type":"integer","format":"int32"}]},"v202601.SupportedLanguage":{"fields":[{"name":"code","type":"string"},{"name":"name","type":"string"}]},"v202601.ThemeExtensionApp":{"fields":[{"name":"id","type":"string"},{"name":"blocks","type":"array","items":{"type":"object","schema":"google.protobuf.Struct"}}]},"v202601.ThemeOperation":{"fields":[{"name":"op","type":"string","required":true},{"name":"target","type":"string"},{"name":"value","type":"object","schema":"google.protobuf.Value"},{"name":"props","type":"object","schema":"google.protobuf.Struct"},{"name":"visible","type":"boolean"},{"name":"position","type":"string"},{"name":"move_target","type":"string"},{"name":"section_id","type":"string"}]},"v202601.ThemeOperationResult":{"fields":[{"name":"op","type":"string"},{"name":"result","type":"string"}]},"v202601.ThemeTemplate":{"fields":[{"name":"id","type":"string"},{"name":"theme_id","type":"string"},{"name":"store_id","type":"string"},{"name":"doc_id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"string"},{"name":"suffix","type":"string"},{"name":"from","type":"string"},{"name":"obj_id","type":"string"},{"name":"obj_title","type":"string"},{"name":"source","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"icon","type":"string"},{"name":"count","type":"string"}]},"v202601.TrackingItem":{"fields":[{"name":"tracking_number","type":"string"},{"name":"tracking_company","type":"string"},{"name":"tracking_company_code","type":"string"},{"name":"tracking_url","type":"string"}]},"v202601.TrafficChannelOption":{"fields":[{"name":"last_referrer_first_show","type":"string"},{"name":"last_referrer_shows","type":"array","items":{"type":"string"}}]},"v202601.UpdateAdditionalPrice":{"fields":[{"name":"name","type":"string","required":true,"min_length":1},{"name":"price","type":"string","required":true,"min_length":1},{"name":"biz_id","type":"string"},{"name":"fee_title","type":"string","required":true,"min_length":1}]},"v202601.UpdateCollectionParam":{"fields":[{"name":"title","type":"string","min_length":1},{"name":"handle","type":"string"},{"name":"description","type":"string"},{"name":"image","type":"object","schema":"v202601.CollectionImageParam"},{"name":"seo_title","type":"string"},{"name":"seo_keywords","type":"array","items":{"type":"string"}},{"name":"seo_description","type":"string"},{"name":"sort_order","type":"string","default":"manual","min_length":1},{"name":"product_ids","type":"array","items":{"type":"string"}},{"name":"add_product_ids","type":"array","items":{"type":"string"}},{"name":"delete_product_ids","type":"array","items":{"type":"string"}},{"name":"tags","type":"array","items":{"type":"string"}}]},"v202601.UpdateCollectionResponse":{"fields":[{"name":"collection","type":"object","schema":"v202601.Collection"}]},"v202601.UpdateEditSessionFileResponse":{"fields":[{"name":"template_data","type":"object","schema":"google.protobuf.Struct"}]},"v202601.UpdateFulfillmentResponse":{"fields":[{"name":"fulfillment","type":"object","schema":"v202601.FulfillmentSummary"}]},"v202601.UpdateGenBlockResponse":{"fields":[{"name":"revert_id","type":"string"},{"name":"branched","type":"boolean"},{"name":"settings","type":"object","schema":"google.protobuf.Struct"}]},"v202601.UpdateMarketDefaultLanguageResponse":{},"v202601.UpdateMarketDomainResponse":{},"v202601.UpdateMarketPriceResponse":{},"v202601.UpdateMarketProductPricesResponse":{},"v202601.UpdateMarketResponse":{},"v202601.UpdateMarketStatusResponse":{},"v202601.UpdateMarketTaxResponse":{},"v202601.UpdateMenuResponse":{"fields":[{"name":"menu","type":"object","schema":"google.protobuf.Struct"}]},"v202601.UpdateOrderParam":{"fields":[{"name":"note","type":"string"},{"name":"tags","type":"array","items":{"type":"string"}},{"name":"buyer_accepts_marketing","type":"boolean"},{"name":"shipping_address","type":"object","schema":"v202601.UpdateOrderShippingAddressParam"},{"name":"shipping_line","type":"object","schema":"v202601.UpdateOrderShippingLineParam"},{"name":"additional_prices","type":"array","items":{"type":"object","schema":"v202601.UpdateAdditionalPrice"}},{"name":"clear_additional_prices","type":"boolean"},{"name":"order_confirm_notify","type":"integer","format":"int32","minimum":0,"maximum":2},{"name":"fulfillment_notify","type":"integer","format":"int32","minimum":0,"maximum":2},{"name":"partial_fulfillment_notify","type":"integer","format":"int32","minimum":0,"maximum":2},{"name":"order_delivered_notify","type":"integer","format":"int32","minimum":0,"maximum":2},{"name":"custom_fields","type":"object","items":{"type":"string"}},{"name":"delete_custom_fields","type":"array","items":{"type":"string"}}]},"v202601.UpdateOrderResponse":{"fields":[{"name":"order","type":"object","schema":"v202601.Order"}]},"v202601.UpdateOrderShippingAddressParam":{"fields":[{"name":"last_name","type":"string"},{"name":"first_name","type":"string"},{"name":"phone","type":"string"},{"name":"email","type":"string"},{"name":"country","type":"string"},{"name":"country_code","type":"string"},{"name":"province","type":"string"},{"name":"province_code","type":"string"},{"name":"area","type":"string"},{"name":"city","type":"string"},{"name":"address","type":"string"},{"name":"address1","type":"string"},{"name":"company","type":"string"},{"name":"zip","type":"string"},{"name":"phone_area_code","type":"string"}]},"v202601.UpdateOrderShippingLineParam":{"fields":[{"name":"shipping_name","type":"string","required":true,"min_length":1},{"name":"shipping_desc","type":"string"},{"name":"shipping_price","type":"string","required":true,"min_length":1},{"name":"delivery_method","type":"integer","format":"int32"},{"name":"extra_info","type":"string"}]},"v202601.UpdateSmartCollectionRuleResponse":{"fields":[{"name":"collection","type":"object","schema":"v202601.Collection"}]},"v202601.UpdateThemeGlobalConfigResponse":{"fields":[{"name":"section","type":"object","schema":"google.protobuf.Struct"},{"name":"html","type":"string"}]},"v202601.UpdateThemeTemplateFrontQueryParams":{"fields":[{"name":"search_keyword","type":"string"},{"name":"collection_id","type":"string"}]},"v202601.UpdateThemeTemplateResponse":{},"v202601.V202601RefundRecord":{"fields":[{"name":"id","type":"string"},{"name":"refund_price","type":"string"},{"name":"refund_shipping","type":"string"},{"name":"refund_shipping_tax","type":"string"},{"name":"refund_method","type":"string"},{"name":"refund_status","type":"string"},{"name":"note","type":"string"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"refund_line_items","type":"array","items":{"type":"object","schema":"v202601.RefundLineItem"}},{"name":"payment_details","type":"array","items":{"type":"object","schema":"v202601.RefundPaymentDetail"}},{"name":"additional_total","type":"string"},{"name":"additional_prices","type":"array","items":{"type":"object","schema":"v202601.AdditionalPrice"}},{"name":"refund_tip","type":"string"},{"name":"order_id","type":"string"},{"name":"extra_info","type":"object","schema":"v202601.RefundRecordExtraInfo"}]},"v202601.request.Config":{"fields":[{"name":"banner_url","type":"string"},{"name":"count_down","type":"object","schema":"v202601.request.CountDown"}]},"v202601.request.CountDown":{"fields":[{"name":"background_color_end","type":"string"},{"name":"background_color_start","type":"string"},{"name":"color","type":"string"},{"name":"count_down_background_color","type":"string"},{"name":"count_down_color","type":"string"},{"name":"detail_page_show_code","type":"boolean"},{"name":"show_count_down","type":"boolean"}]},"v202601.request.CouponSort":{"fields":[{"name":"by","type":"string"},{"name":"direction","type":"string"}]},"v202601.request.CreateAutomaticDiscountInfoReq":{"fields":[{"name":"discount_name","type":"string","required":true,"min_length":1},{"name":"display_name","type":"string","required":true,"min_length":1},{"name":"discount_target","type":"string","required":true},{"name":"discount_type","type":"string","required":true},{"name":"starts_at","type":"integer","format":"int32","required":true,"minimum":0},{"name":"ends_at","type":"integer","format":"int32","required":true,"minimum":-1}]},"v202601.request.CreateAutomaticDiscountLayerItemReq":{"fields":[{"name":"condition_value","type":"string"},{"name":"obtain_value","type":"string"},{"name":"obtain_count","type":"integer","format":"uint32"}]},"v202601.request.CreateAutomaticDiscountLayerReq":{"fields":[{"name":"condition_type","type":"string"},{"name":"obtain_type","type":"string","required":true},{"name":"layers","type":"array","items":{"type":"object","schema":"v202601.request.CreateAutomaticDiscountLayerItemReq"}}]},"v202601.request.CreateAutomaticDiscountParam":{"fields":[{"name":"discount_info","type":"object","schema":"v202601.request.CreateAutomaticDiscountInfoReq","required":true},{"name":"entitled_customer","type":"object","schema":"v202601.request.DiscountEntitledCustomerReq"},{"name":"entitled_product","type":"object","schema":"v202601.request.DiscountEntitledProductReq"},{"name":"discount_rule","type":"object","schema":"v202601.request.CreateAutomaticDiscountRuleReq"},{"name":"discount_layer","type":"object","schema":"v202601.request.CreateAutomaticDiscountLayerReq","required":true}]},"v202601.request.CreateAutomaticDiscountRuleReq":{"fields":[{"name":"limit_max_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_user_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_order_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_user_product_type","type":"string"},{"name":"limit_user_product_discount","type":"integer","format":"int32","minimum":-1},{"name":"price_rule","type":"string"},{"name":"product_discount_order","type":"string"},{"name":"virtual_sales","type":"integer","format":"int32","minimum":0},{"name":"stock","type":"integer","format":"int32","minimum":-1},{"name":"follow_stock","type":"string"},{"name":"discount_combines","type":"array","items":{"type":"string"}},{"name":"mn_discount_scope","type":"string"},{"name":"enable_product_extends","type":"boolean"}]},"v202601.request.CreateCouponParam":{"fields":[{"name":"title","type":"string","required":true,"min_length":1},{"name":"remarks","type":"string","required":true,"min_length":1},{"name":"life_cycle_type","type":"string","required":true},{"name":"starts_at","type":"integer","format":"int64","required":true,"minimum":0},{"name":"ends_at","type":"integer","format":"int64","required":true,"minimum":-1},{"name":"use_coupon_starts_at","type":"integer","format":"int64","required":true,"minimum":0},{"name":"use_coupon_ends_at","type":"integer","format":"int64","required":true,"minimum":-1},{"name":"survival_time","type":"integer","format":"int64","required":true,"minimum":0},{"name":"discount_type","type":"string","required":true},{"name":"value","type":"string","required":true,"min_length":1},{"name":"value_type","type":"string","required":true},{"name":"unlimited_usage","type":"boolean"},{"name":"stock","type":"integer","format":"int32","required":true,"minimum":-1},{"name":"once_per_customer","type":"integer","format":"int32","required":true,"minimum":0},{"name":"user_with_other","type":"boolean","required":true},{"name":"prerequisite_subtotal_range","type":"array","items":{"type":"object","schema":"v202601.request.ThresholdRange"}},{"name":"prerequisite_quantity_range","type":"array","items":{"type":"object","schema":"v202601.request.ThresholdRange"}},{"name":"entitled_product_ids","type":"array","items":{"type":"string"}},{"name":"entitled_collection_ids","type":"array","items":{"type":"string"}},{"name":"prerequisite_customer_segment_ids","type":"array","items":{"type":"string"}},{"name":"prerequisite_customer_ids","type":"array","items":{"type":"string"}},{"name":"sort","type":"object","schema":"v202601.request.CouponSort"},{"name":"config","type":"object","schema":"v202601.request.Config"}]},"v202601.request.CreateNonAutomaticDiscountInfoReq":{"fields":[{"name":"discount_name","type":"string","required":true,"min_length":1},{"name":"display_name","type":"string","required":true,"min_length":1},{"name":"discount_target","type":"string","required":true},{"name":"discount_type","type":"string","required":true},{"name":"discount_codes","type":"array","items":{"type":"string"},"required":true,"min_length":1},{"name":"starts_at","type":"integer","format":"int32","required":true,"minimum":0},{"name":"ends_at","type":"integer","format":"int32","required":true,"minimum":-1}]},"v202601.request.CreateNonAutomaticDiscountLayerItemReq":{"fields":[{"name":"condition_value","type":"string"},{"name":"obtain_value","type":"string","required":true,"min_length":1},{"name":"obtain_count","type":"integer","format":"uint32"}]},"v202601.request.CreateNonAutomaticDiscountLayerReq":{"fields":[{"name":"condition_type","type":"string","required":true},{"name":"obtain_type","type":"string","required":true},{"name":"layers","type":"array","items":{"type":"object","schema":"v202601.request.CreateNonAutomaticDiscountLayerItemReq"},"required":true,"min_length":1}]},"v202601.request.CreateNonAutomaticDiscountParam":{"fields":[{"name":"discount_info","type":"object","schema":"v202601.request.CreateNonAutomaticDiscountInfoReq","required":true},{"name":"entitled_customer","type":"object","schema":"v202601.request.DiscountEntitledCustomerReq"},{"name":"entitled_product","type":"object","schema":"v202601.request.DiscountEntitledProductReq"},{"name":"discount_rule","type":"object","schema":"v202601.request.NonAutomaticDiscountRuleReq"},{"name":"discount_layer","type":"object","schema":"v202601.request.CreateNonAutomaticDiscountLayerReq","required":true},{"name":"entitled_area","type":"object","schema":"v202601.request.DiscountEntitledAreaReq"},{"name":"obtain_product","type":"object","schema":"v202601.request.DiscountEntitledProductReq"}]},"v202601.request.DiscountAreaReq":{"fields":[{"name":"country_code","type":"string"},{"name":"province_codes","type":"array","items":{"type":"string"}}]},"v202601.request.DiscountEntitledAreaReq":{"fields":[{"name":"areas","type":"array","items":{"type":"object","schema":"v202601.request.DiscountAreaReq"}}]},"v202601.request.DiscountEntitledCustomerReq":{"fields":[{"name":"customer_ids","type":"array","items":{"type":"string"}},{"name":"customer_segment_ids","type":"array","items":{"type":"string"}}]},"v202601.request.DiscountEntitledProductReq":{"fields":[{"name":"product_ids","type":"array","items":{"type":"string"}},{"name":"variant_ids","type":"array","items":{"type":"string"}},{"name":"collection_ids","type":"array","items":{"type":"string"}},{"name":"sort","type":"object","schema":"v202601.request.Sort"},{"name":"selection","type":"string"},{"name":"sku_extends","type":"object","items":{"type":"object","schema":"v202601.request.SkuExtendReq"}}]},"v202601.request.NonAutomaticDiscountRuleReq":{"fields":[{"name":"limit_max_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_user_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_order_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_code_max_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_code_user_discount","type":"integer","format":"int32","minimum":-1},{"name":"obtain_full","type":"boolean"},{"name":"discount_combines","type":"array","items":{"type":"string"}}]},"v202601.request.SkuExtendReq":{"fields":[{"name":"obtain_value","type":"string"},{"name":"min_purchase_qty","type":"integer","format":"uint32"},{"name":"seq","type":"integer","format":"uint32"},{"name":"virtual_sales","type":"integer","format":"int32"},{"name":"follow_stock","type":"string"},{"name":"stock","type":"integer","format":"int32"},{"name":"collection_id","type":"string"}]},"v202601.request.Sort":{"fields":[{"name":"by","type":"string"},{"name":"direction","type":"string"}]},"v202601.request.ThresholdRange":{"fields":[{"name":"greater_than_or_equal_to","type":"string","min_length":1},{"name":"value","type":"string","min_length":1}]},"v202601.request.UpdateAutomaticDiscountInfoReq":{"fields":[{"name":"discount_name","type":"string"},{"name":"display_name","type":"string"},{"name":"starts_at","type":"integer","format":"int32"},{"name":"ends_at","type":"integer","format":"int32"}]},"v202601.request.UpdateAutomaticDiscountParam":{"fields":[{"name":"discount_info","type":"object","schema":"v202601.request.UpdateAutomaticDiscountInfoReq"},{"name":"entitled_customer","type":"object","schema":"v202601.request.DiscountEntitledCustomerReq"},{"name":"entitled_product","type":"object","schema":"v202601.request.DiscountEntitledProductReq"},{"name":"discount_rule","type":"object","schema":"v202601.request.UpdateAutomaticDiscountRuleReq"},{"name":"discount_layer","type":"object","schema":"v202601.request.UpdateDiscountLayerReq"}]},"v202601.request.UpdateAutomaticDiscountRuleReq":{"fields":[{"name":"limit_max_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_user_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_order_discount","type":"integer","format":"int32","minimum":-1},{"name":"limit_user_product_type","type":"string"},{"name":"limit_user_product_discount","type":"integer","format":"int32","minimum":-1},{"name":"price_rule","type":"string"},{"name":"product_discount_order","type":"string"},{"name":"virtual_sales","type":"integer","format":"int32","minimum":0},{"name":"stock","type":"integer","format":"int32","minimum":-1},{"name":"follow_stock","type":"string"},{"name":"discount_combines","type":"array","items":{"type":"string"}},{"name":"mn_discount_scope","type":"string"}]},"v202601.request.UpdateCouponParam":{"fields":[{"name":"title","type":"string","min_length":1},{"name":"remarks","type":"string","min_length":1},{"name":"starts_at","type":"integer","format":"int64"},{"name":"ends_at","type":"integer","format":"int64","minimum":-1},{"name":"use_coupon_starts_at","type":"integer","format":"int64"},{"name":"use_coupon_ends_at","type":"integer","format":"int64","minimum":-1},{"name":"survival_time","type":"integer","format":"int64"},{"name":"unlimited_usage","type":"boolean"},{"name":"stock","type":"integer","format":"int32","minimum":0},{"name":"sort","type":"object","schema":"v202601.request.CouponSort"},{"name":"config","type":"object","schema":"v202601.request.Config"}]},"v202601.request.UpdateDiscountLayerReq":{"fields":[{"name":"condition_type","type":"string"},{"name":"obtain_type","type":"string"},{"name":"layers","type":"array","items":{"type":"object","schema":"v202601.request.UpdateLayerItemReq"}}]},"v202601.request.UpdateLayerItemReq":{"fields":[{"name":"condition_value","type":"string"},{"name":"obtain_value","type":"string"},{"name":"obtain_count","type":"integer","format":"uint32","minimum":0}]},"v202601.request.UpdateNonAutomaticDiscountInfoReq":{"fields":[{"name":"discount_name","type":"string"},{"name":"display_name","type":"string"},{"name":"discount_codes","type":"array","items":{"type":"string"}},{"name":"starts_at","type":"integer","format":"int32"},{"name":"ends_at","type":"integer","format":"int32"}]},"v202601.request.UpdateNonAutomaticDiscountParam":{"fields":[{"name":"discount_info","type":"object","schema":"v202601.request.UpdateNonAutomaticDiscountInfoReq"},{"name":"entitled_customer","type":"object","schema":"v202601.request.DiscountEntitledCustomerReq"},{"name":"entitled_product","type":"object","schema":"v202601.request.DiscountEntitledProductReq"},{"name":"discount_rule","type":"object","schema":"v202601.request.NonAutomaticDiscountRuleReq"},{"name":"discount_layer","type":"object","schema":"v202601.request.UpdateDiscountLayerReq"},{"name":"entitled_area","type":"object","schema":"v202601.request.DiscountEntitledAreaReq"},{"name":"obtain_product","type":"object","schema":"v202601.request.DiscountEntitledProductReq"}]},"v202601.response.BatchDeleteDiscountsResponse":{},"v202601.response.CancelDiscountsResponse":{},"v202601.response.CountDown":{"fields":[{"name":"background_color_end","type":"string"},{"name":"background_color_start","type":"string"},{"name":"color","type":"string"},{"name":"count_down_background_color","type":"string"},{"name":"count_down_color","type":"string"},{"name":"detail_page_show_code","type":"boolean"},{"name":"show_count_down","type":"boolean"}]},"v202601.response.Coupon":{"fields":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"remarks","type":"string"},{"name":"life_cycle_type","type":"string"},{"name":"starts_at","type":"integer","format":"int64"},{"name":"ends_at","type":"integer","format":"int64"},{"name":"use_coupon_starts_at","type":"integer","format":"int64"},{"name":"use_coupon_ends_at","type":"integer","format":"int64"},{"name":"survival_time","type":"integer","format":"int64"},{"name":"discount_type","type":"string"},{"name":"value","type":"string"},{"name":"value_type","type":"string"},{"name":"unlimited_usage","type":"boolean"},{"name":"stock","type":"integer","format":"int32"},{"name":"once_per_customer","type":"integer","format":"int32"},{"name":"user_with_other","type":"boolean"},{"name":"prerequisite_subtotal_range","type":"array","items":{"type":"object","schema":"v202601.response.CouponThresholdRange"}},{"name":"prerequisite_quantity_range","type":"array","items":{"type":"object","schema":"v202601.response.CouponThresholdRange"}},{"name":"entitled_product_ids","type":"array","items":{"type":"string"}},{"name":"entitled_collection_ids","type":"array","items":{"type":"string"}},{"name":"prerequisite_customer_segment_ids","type":"array","items":{"type":"string"}},{"name":"prerequisite_customer_ids","type":"array","items":{"type":"string"}},{"name":"sort","type":"object","schema":"v202601.response.Sort"},{"name":"config","type":"object","schema":"v202601.response.CouponConfig"}]},"v202601.response.CouponConfig":{"fields":[{"name":"banner_url","type":"string"},{"name":"count_down","type":"object","schema":"v202601.response.CountDown"}]},"v202601.response.CouponThresholdRange":{"fields":[{"name":"greater_than_or_equal_to","type":"string"},{"name":"value","type":"string"}]},"v202601.response.CreateAutomaticDiscountResponse":{"fields":[{"name":"discount","type":"object","schema":"v202601.response.DiscountDetail"}]},"v202601.response.CreateCouponResponse":{"fields":[{"name":"coupon","type":"object","schema":"v202601.response.Coupon"}]},"v202601.response.CreateNonAutomaticDiscountResponse":{"fields":[{"name":"discount","type":"object","schema":"v202601.response.DiscountDetail"}]},"v202601.response.DeleteDiscountResponse":{},"v202601.response.DiscountAreaResp":{"fields":[{"name":"country_code","type":"string"},{"name":"province_codes","type":"array","items":{"type":"string"}}]},"v202601.response.DiscountCombineResp":{"fields":[{"name":"use_with_other","type":"boolean"}]},"v202601.response.DiscountDetail":{"fields":[{"name":"discount_info","type":"object","schema":"v202601.response.DiscountInfoResp"},{"name":"entitled_customer","type":"object","schema":"v202601.response.DiscountEntitledCustomerResp"},{"name":"entitled_product","type":"object","schema":"v202601.response.DiscountEntitledProductResp"},{"name":"obtain_product","type":"object","schema":"v202601.response.DiscountEntitledProductResp"},{"name":"discount_rule","type":"object","schema":"v202601.response.DiscountRuleResp"},{"name":"discount_layer","type":"object","schema":"v202601.response.DiscountLayerResp"},{"name":"discount_combine","type":"object","schema":"v202601.response.DiscountCombineResp"},{"name":"entitled_area","type":"object","schema":"v202601.response.DiscountEntitledAreaResp"}]},"v202601.response.DiscountEntitledAreaResp":{"fields":[{"name":"areas","type":"array","items":{"type":"object","schema":"v202601.response.DiscountAreaResp"}}]},"v202601.response.DiscountEntitledCustomerResp":{"fields":[{"name":"customer_ids","type":"array","items":{"type":"string"}},{"name":"customer_segment_ids","type":"array","items":{"type":"string"}}]},"v202601.response.DiscountEntitledProductResp":{"fields":[{"name":"product_ids","type":"array","items":{"type":"string"}},{"name":"variant_ids","type":"array","items":{"type":"string"}},{"name":"collection_ids","type":"array","items":{"type":"string"}},{"name":"sort","type":"object","schema":"v202601.response.DiscountSortResp"},{"name":"selection","type":"string"},{"name":"sku_extends","type":"object","items":{"type":"object","schema":"v202601.response.SkuExtendResp"}}]},"v202601.response.DiscountInfoResp":{"fields":[{"name":"id","type":"string"},{"name":"discount_name","type":"string"},{"name":"display_name","type":"string"},{"name":"discount_target","type":"string"},{"name":"category","type":"string"},{"name":"discount_type","type":"string"},{"name":"discount_method","type":"string"},{"name":"discount_code","type":"string"},{"name":"discount_codes","type":"array","items":{"type":"string"}},{"name":"starts_date","type":"string"},{"name":"ends_date","type":"string"},{"name":"starts_at","type":"integer","format":"int32"},{"name":"ends_at","type":"integer","format":"int32"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"is_old_discount","type":"boolean"},{"name":"progress","type":"string"},{"name":"enable_all_customer","type":"boolean"},{"name":"is_show_admin","type":"string"},{"name":"time_used","type":"integer","format":"int32"}]},"v202601.response.DiscountLayerItemResp":{"fields":[{"name":"condition_value","type":"string"},{"name":"obtain_value","type":"string"},{"name":"obtain_count","type":"integer","format":"uint32"}]},"v202601.response.DiscountLayerResp":{"fields":[{"name":"condition_type","type":"string"},{"name":"obtain_type","type":"string"},{"name":"layers","type":"array","items":{"type":"object","schema":"v202601.response.DiscountLayerItemResp"}}]},"v202601.response.DiscountRuleResp":{"fields":[{"name":"limit_max_discount","type":"integer","format":"int32"},{"name":"limit_user_discount","type":"integer","format":"int32"},{"name":"limit_order_discount","type":"integer","format":"int32"},{"name":"limit_user_product_type","type":"string"},{"name":"limit_user_product_discount","type":"integer","format":"int32"},{"name":"stock","type":"integer","format":"int32"},{"name":"follow_stock","type":"string"},{"name":"virtual_sales","type":"integer","format":"int32"},{"name":"price_rule","type":"string"},{"name":"extends","type":"string"},{"name":"product_discount_order","type":"string"},{"name":"discount_combines","type":"array","items":{"type":"string"}},{"name":"obtain_full","type":"boolean"},{"name":"mn_discount_scope","type":"string"},{"name":"limit_code_max_discount","type":"integer","format":"int32"},{"name":"limit_code_user_discount","type":"integer","format":"int32"},{"name":"enable_product_extends","type":"boolean"}]},"v202601.response.DiscountSortResp":{"fields":[{"name":"by","type":"string"},{"name":"direction","type":"string"},{"name":"before","type":"string"}]},"v202601.response.DiscountSummaryResp":{"fields":[{"name":"id","type":"string"},{"name":"discount_name","type":"string"},{"name":"display_name","type":"string"},{"name":"discount_target","type":"string"},{"name":"discount_type","type":"string"},{"name":"discount_method","type":"string"},{"name":"discount_code","type":"string"},{"name":"progress","type":"string"},{"name":"starts_at","type":"integer","format":"int32"},{"name":"ends_at","type":"integer","format":"int32"},{"name":"created_at","type":"string"},{"name":"updated_at","type":"string"},{"name":"discount_layer","type":"object","schema":"v202601.response.DiscountLayerResp"},{"name":"discount_rule","type":"object","schema":"v202601.response.DiscountRuleResp"},{"name":"entitled_product","type":"object","schema":"v202601.response.DiscountEntitledProductResp"},{"name":"entitled_customer","type":"object","schema":"v202601.response.DiscountEntitledCustomerResp"},{"name":"obtain_product","type":"object","schema":"v202601.response.DiscountEntitledProductResp"},{"name":"entitled_area","type":"object","schema":"v202601.response.DiscountEntitledAreaResp"},{"name":"source_name","type":"string"},{"name":"starts_date","type":"string"},{"name":"ends_date","type":"string"},{"name":"state","type":"string"}]},"v202601.response.GetCouponResponse":{"fields":[{"name":"coupon","type":"object","schema":"v202601.response.Coupon"}]},"v202601.response.GetDiscountResponse":{"fields":[{"name":"discount","type":"object","schema":"v202601.response.DiscountDetail"}]},"v202601.response.ListDiscountsResponse":{"fields":[{"name":"discounts","type":"array","items":{"type":"object","schema":"v202601.response.DiscountSummaryResp"}},{"name":"cursor","type":"string"},{"name":"has_more","type":"boolean"},{"name":"total_count","type":"integer","format":"int32"}]},"v202601.response.LookupDiscountResponse":{"fields":[{"name":"discount","type":"object","schema":"v202601.response.DiscountDetail"}]},"v202601.response.RestartDiscountResponse":{},"v202601.response.SkuExtendResp":{"fields":[{"name":"obtain_value","type":"string"},{"name":"min_purchase_qty","type":"integer","format":"uint32"},{"name":"seq","type":"integer","format":"uint32"},{"name":"virtual_sales","type":"integer","format":"int32"},{"name":"follow_stock","type":"string"},{"name":"stock","type":"integer","format":"int32"},{"name":"collection_id","type":"string"}]},"v202601.response.Sort":{"fields":[{"name":"by","type":"string"},{"name":"direction","type":"string"}]},"v202601.response.UpdateAutomaticDiscountResponse":{"fields":[{"name":"discount","type":"object","schema":"v202601.response.DiscountDetail"}]},"v202601.response.UpdateCouponResponse":{"fields":[{"name":"coupon","type":"object","schema":"v202601.response.Coupon"}]},"v202601.response.UpdateDiscountCombineResponse":{"fields":[{"name":"ids","type":"array","items":{"type":"string"}}]},"v202601.response.UpdateNonAutomaticDiscountResponse":{"fields":[{"name":"discount","type":"object","schema":"v202601.response.DiscountDetail"}]}}},"version":"2026-01"}