Shopify
Управление товарами, заказами, клиентами и складскими остатками в вашем магазине Shopify
Shopify — ведущая e-commerce платформа, которая помогает продавцам создавать, вести и развивать свои онлайн-магазины. Shopify упрощает управление всеми аспектами магазина — от товаров и складских остатков до заказов и клиентов.
Интеграция Shopify в AACFlow позволяет вашим агентам:
- Создавать и управлять товарами: добавляйте новые товары, обновляйте их данные и удаляйте товары из магазина.
- Получать список и информацию о заказах: получайте данные о клиентских заказах с фильтрацией и управлением заказами.
- Управлять клиентами: получайте и обновляйте данные клиентов или добавляйте новых клиентов в магазин.
- Корректировать складские остатки: программно меняйте уровни запасов товаров, поддерживая точность данных склада.
Используйте интеграцию Shopify в AACFlow для автоматизации типовых процессов управления магазином — синхронизации остатков, обработки заказов или управления листингами — прямо из ваших автоматизаций. Дайте агентам возможность получать, обновлять и упорядочивать все данные магазина через простые программные инструменты.
Интегрируйте Shopify в ваш рабочий процесс. Управлять products, orders, customers, и inventory. Создавайте, читайте, обновляйте, и delete products. Список и manage orders. Handle customer data и adjust inventory levels.
Создать новый product in your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
title | string | Да | Product title |
descriptionHtml | string | Нет | Product description (HTML) |
vendor | string | Нет | Product vendor/brand |
productType | string | Нет | Product type/category |
tags | array | Нет | Product tags |
status | string | Нет | Product status (ACTIVE, DRAFT, ARCHIVED) |
| Параметр | Тип | Описание |
|---|
product | object | The created product |
↳ id | string | Unique product identifier (GID) |
↳ title | string | Product title |
↳ handle | string | URL-friendly product identifier |
↳ descriptionHtml | string | Product description in HTML format |
↳ vendor | string | Product vendor or manufacturer |
↳ productType | string | Product type classification |
↳ tags | array | Product tags for categorization |
↳ status | string | Product status (ACTIVE, DRAFT, ARCHIVED) |
↳ createdAt | string | Creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ variants | object | Product variants with edges/nodes structure |
↳ images | object | Product images with edges/nodes structure |
Получить a single product от ID from your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
productId | string | Да | Product ID (gid://shopify/Product/123456789) |
| Параметр | Тип | Описание |
|---|
product | object | The product details |
↳ id | string | Unique product identifier (GID) |
↳ title | string | Product title |
↳ handle | string | URL-friendly product identifier |
↳ descriptionHtml | string | Product description in HTML format |
↳ vendor | string | Product vendor or manufacturer |
↳ productType | string | Product type classification |
↳ tags | array | Product tags for categorization |
↳ status | string | Product status (ACTIVE, DRAFT, ARCHIVED) |
↳ createdAt | string | Creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ variants | object | Product variants with edges/nodes structure |
↳ images | object | Product images with edges/nodes structure |
Список products from your Shopify store с optional фильтрация
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
first | number | Нет | Number of products to return (default: 50, max: 250) |
query | string | Нет | Search query to filter products (e.g., "title:shirt" or "vendor:Nike" or "status:active") |
| Параметр | Тип | Описание |
|---|
products | array | List of products |
↳ id | string | Unique product identifier (GID) |
↳ title | string | Product title |
↳ handle | string | URL-friendly product identifier |
↳ descriptionHtml | string | Product description in HTML format |
↳ vendor | string | Product vendor or manufacturer |
↳ productType | string | Product type classification |
↳ tags | array | Product tags for categorization |
↳ status | string | Product status (ACTIVE, DRAFT, ARCHIVED) |
↳ createdAt | string | Creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ variants | object | Product variants with edges/nodes structure |
↳ images | object | Product images with edges/nodes structure |
pageInfo | object | Pagination information |
↳ hasNextPage | boolean | Произошла лиre are more results after this page |
↳ hasPreviousPage | boolean | Произошла лиre are results before this page |
Обновитьn existing product in your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
productId | string | Да | Product ID to update (gid://shopify/Product/123456789) |
title | string | Нет | New product title |
descriptionHtml | string | Нет | New product description (HTML) |
vendor | string | Нет | New product vendor/brand |
productType | string | Нет | New product type/category |
tags | array | Нет | New product tags |
status | string | Нет | New product status (ACTIVE, DRAFT, ARCHIVED) |
| Параметр | Тип | Описание |
|---|
product | object | The updated product |
↳ id | string | Unique product identifier (GID) |
↳ title | string | Product title |
↳ handle | string | URL-friendly product identifier |
↳ descriptionHtml | string | Product description in HTML format |
↳ vendor | string | Product vendor or manufacturer |
↳ productType | string | Product type classification |
↳ tags | array | Product tags for categorization |
↳ status | string | Product status (ACTIVE, DRAFT, ARCHIVED) |
↳ createdAt | string | Creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ variants | object | Product variants with edges/nodes structure |
↳ images | object | Product images with edges/nodes structure |
Удалить product from your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
productId | string | Да | Product ID to delete (gid://shopify/Product/123456789) |
| Параметр | Тип | Описание |
|---|
deletedId | string | The ID of the deleted product |
Получить a single order от ID from your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
orderId | string | Да | Order ID (gid://shopify/Order/123456789) |
| Параметр | Тип | Описание |
|---|
order | object | The order details |
↳ id | string | Unique order identifier (GID) |
↳ name | string | Order name (e.g., #1001) |
↳ email | string | Customer email for the order |
↳ phone | string | Customer phone for the order |
↳ createdAt | string | Order creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ cancelledAt | string | Cancellation timestamp (ISO 8601) |
↳ closedAt | string | Closure timestamp (ISO 8601) |
↳ displayFinancialStatus | string | Financial status (PENDING, AUTHORIZED, PARTIALLY_PAID, PAID, PARTIALLY_REFUNDED, REFUNDED, VOIDED) |
↳ displayFulfillmentStatus | string | Fulfillment status (UNFULFILLED, PARTIALLY_FULFILLED, FULFILLED, RESTOCKED, PENDING_FULFILLMENT, OPEN, IN_PROGRESS, ON_HOLD, SCHEDULED) |
↳ totalPriceSet | object | Total order price |
↳ subtotalPriceSet | object | Order subtotal (before shipping and taxes) |
↳ totalTaxSet | object | Total tax amount |
↳ totalShippingPriceSet | object | Total shipping price |
↳ note | string | Order note |
↳ tags | array | Order tags |
↳ customer | object | Customer who placed the order |
↳ lineItems | object | Order line items with edges/nodes structure |
↳ shippingAddress | object | Shipping address |
↳ billingAddress | object | Billing address |
↳ fulfillments | array | Order fulfillments |
Список orders from your Shopify store с optional фильтрация
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
first | number | Нет | Number of orders to return (default: 50, max: 250) |
status | string | Нет | Filter by order status (open, closed, cancelled, any) |
query | string | Нет | Search query to filter orders (e.g., "financial_status:paid" or "fulfillment_status:unfulfilled" or "email:customer@example.com") |
| Параметр | Тип | Описание |
|---|
orders | array | List of orders |
↳ id | string | Unique order identifier (GID) |
↳ name | string | Order name (e.g., #1001) |
↳ email | string | Customer email for the order |
↳ phone | string | Customer phone for the order |
↳ createdAt | string | Order creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ cancelledAt | string | Cancellation timestamp (ISO 8601) |
↳ closedAt | string | Closure timestamp (ISO 8601) |
↳ displayFinancialStatus | string | Financial status (PENDING, AUTHORIZED, PARTIALLY_PAID, PAID, PARTIALLY_REFUNDED, REFUNDED, VOIDED) |
↳ displayFulfillmentStatus | string | Fulfillment status (UNFULFILLED, PARTIALLY_FULFILLED, FULFILLED, RESTOCKED, PENDING_FULFILLMENT, OPEN, IN_PROGRESS, ON_HOLD, SCHEDULED) |
↳ totalPriceSet | object | Total order price |
↳ subtotalPriceSet | object | Order subtotal (before shipping and taxes) |
↳ totalTaxSet | object | Total tax amount |
↳ totalShippingPriceSet | object | Total shipping price |
↳ note | string | Order note |
↳ tags | array | Order tags |
↳ customer | object | Customer who placed the order |
↳ lineItems | object | Order line items with edges/nodes structure |
↳ shippingAddress | object | Shipping address |
↳ billingAddress | object | Billing address |
↳ fulfillments | array | Order fulfillments |
pageInfo | object | Pagination information |
↳ hasNextPage | boolean | Произошла лиre are more results after this page |
↳ hasPreviousPage | boolean | Произошла лиre are results before this page |
Обновитьn existing order in your Shopify store (note, tags, email)
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
orderId | string | Да | Order ID to update (gid://shopify/Order/123456789) |
note | string | Нет | New order note |
tags | array | Нет | New order tags |
email | string | Нет | New customer email for the order |
| Параметр | Тип | Описание |
|---|
order | object | The updated order |
↳ id | string | Unique order identifier (GID) |
↳ name | string | Order name (e.g., #1001) |
↳ email | string | Customer email for the order |
↳ phone | string | Customer phone for the order |
↳ createdAt | string | Order creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ cancelledAt | string | Cancellation timestamp (ISO 8601) |
↳ closedAt | string | Closure timestamp (ISO 8601) |
↳ displayFinancialStatus | string | Financial status (PENDING, AUTHORIZED, PARTIALLY_PAID, PAID, PARTIALLY_REFUNDED, REFUNDED, VOIDED) |
↳ displayFulfillmentStatus | string | Fulfillment status (UNFULFILLED, PARTIALLY_FULFILLED, FULFILLED, RESTOCKED, PENDING_FULFILLMENT, OPEN, IN_PROGRESS, ON_HOLD, SCHEDULED) |
↳ totalPriceSet | object | Total order price |
↳ subtotalPriceSet | object | Order subtotal (before shipping and taxes) |
↳ totalTaxSet | object | Total tax amount |
↳ totalShippingPriceSet | object | Total shipping price |
↳ note | string | Order note |
↳ tags | array | Order tags |
↳ customer | object | Customer who placed the order |
↳ lineItems | object | Order line items with edges/nodes structure |
↳ shippingAddress | object | Shipping address |
↳ billingAddress | object | Billing address |
↳ fulfillments | array | Order fulfillments |
Cancel an order in your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
orderId | string | Да | Order ID to cancel (gid://shopify/Order/123456789) |
reason | string | Да | Cancellation reason (CUSTOMER, DECLINED, FRAUD, INVENTORY, STAFF, OTHER) |
notifyCustomer | boolean | Нет | Whether to notify the customer about the cancellation |
refund | boolean | Нет | Whether to refund the order |
restock | boolean | Нет | Whether to restock the inventory |
staffNote | string | Нет | A note about the cancellation for staff reference |
| Параметр | Тип | Описание |
|---|
order | object | The cancellation result |
↳ id | string | Job identifier for the cancellation |
↳ cancelled | boolean | Произошла ли cancellation completed |
↳ message | string | Status message |
Создать новый customer in your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
email | string | Нет | Customer email address |
firstName | string | Нет | Customer first name |
lastName | string | Нет | Customer last name |
phone | string | Нет | Customer phone number |
note | string | Нет | Note about the customer |
tags | array | Нет | Customer tags |
addresses | array | Нет | Customer addresses |
| Параметр | Тип | Описание |
|---|
customer | object | The created customer |
↳ id | string | Unique customer identifier (GID) |
↳ email | string | Customer email address |
↳ firstName | string | Customer first name |
↳ lastName | string | Customer last name |
↳ phone | string | Customer phone number |
↳ createdAt | string | Account creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ note | string | Internal notes about the customer |
↳ tags | array | Customer tags for categorization |
↳ amountSpent | object | Total amount spent by customer |
↳ addresses | array | Customer addresses |
↳ defaultAddress | object | Customer default address |
Получить a single customer от ID from your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
customerId | string | Да | Customer ID (gid://shopify/Customer/123456789) |
| Параметр | Тип | Описание |
|---|
customer | object | The customer details |
↳ id | string | Unique customer identifier (GID) |
↳ email | string | Customer email address |
↳ firstName | string | Customer first name |
↳ lastName | string | Customer last name |
↳ phone | string | Customer phone number |
↳ createdAt | string | Account creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ note | string | Internal notes about the customer |
↳ tags | array | Customer tags for categorization |
↳ amountSpent | object | Total amount spent by customer |
↳ addresses | array | Customer addresses |
↳ defaultAddress | object | Customer default address |
Список customers from your Shopify store с optional фильтрация
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
first | number | Нет | Number of customers to return (default: 50, max: 250) |
query | string | Нет | Search query to filter customers (e.g., "first_name:John" or "last_name:Smith" or "email:*@gmail.com" or "tag:vip") |
| Параметр | Тип | Описание |
|---|
customers | array | List of customers |
↳ id | string | Unique customer identifier (GID) |
↳ email | string | Customer email address |
↳ firstName | string | Customer first name |
↳ lastName | string | Customer last name |
↳ phone | string | Customer phone number |
↳ createdAt | string | Account creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ note | string | Internal notes about the customer |
↳ tags | array | Customer tags for categorization |
↳ amountSpent | object | Total amount spent by customer |
↳ addresses | array | Customer addresses |
↳ defaultAddress | object | Customer default address |
pageInfo | object | Pagination information |
↳ hasNextPage | boolean | Произошла лиre are more results after this page |
↳ hasPreviousPage | boolean | Произошла лиre are results before this page |
Обновитьn existing customer in your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
customerId | string | Да | Customer ID to update (gid://shopify/Customer/123456789) |
email | string | Нет | New customer email address |
firstName | string | Нет | New customer first name |
lastName | string | Нет | New customer last name |
phone | string | Нет | New customer phone number |
note | string | Нет | New note about the customer |
tags | array | Нет | New customer tags |
| Параметр | Тип | Описание |
|---|
customer | object | The updated customer |
↳ id | string | Unique customer identifier (GID) |
↳ email | string | Customer email address |
↳ firstName | string | Customer first name |
↳ lastName | string | Customer last name |
↳ phone | string | Customer phone number |
↳ createdAt | string | Account creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ note | string | Internal notes about the customer |
↳ tags | array | Customer tags for categorization |
↳ amountSpent | object | Total amount spent by customer |
↳ addresses | array | Customer addresses |
↳ defaultAddress | object | Customer default address |
Удалить customer from your Shopify store
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
customerId | string | Да | Customer ID to delete (gid://shopify/Customer/123456789) |
| Параметр | Тип | Описание |
|---|
deletedId | string | The ID of the deleted customer |
Список товарных запасов items from your Shopify store. Use this to find inventory item IDs по SKU.
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
first | number | Нет | Number of inventory items to return (default: 50, max: 250) |
query | string | Нет | Search query to filter inventory items (e.g., "sku:ABC123") |
| Параметр | Тип | Описание |
|---|
inventoryItems | array | List of inventory items С помощьюir IDs, SKUs, and stock levels |
↳ id | string | Unique inventory item identifier (GID) |
↳ sku | string | Stock keeping unit |
↳ tracked | boolean | Whether inventory is tracked |
↳ createdAt | string | Creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ variant | object | Associated product variant |
↳ id | string | Variant identifier (GID) |
↳ title | string | Variant title |
↳ product | object | Associated product |
↳ id | string | Product identifier (GID) |
↳ title | string | Product title |
↳ inventoryLevels | array | Inventory levels at different locations |
↳ id | string | Inventory level identifier (GID) |
↳ available | number | Available quantity |
↳ location | object | Location for this inventory level |
↳ id | string | Location identifier (GID) |
↳ name | string | Location name |
pageInfo | object | Pagination information |
↳ hasNextPage | boolean | Произошла лиre are more results after this page |
↳ hasPreviousPage | boolean | Произошла лиre are results before this page |
Получить inventory level для a product variant at a specific location
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
inventoryItemId | string | Да | Inventory item ID (gid://shopify/InventoryItem/123456789) |
locationId | string | Нет | Location ID to filter by (optional) |
| Параметр | Тип | Описание |
|---|
inventoryLevel | object | The inventory level details |
↳ id | string | Inventory item identifier (GID) |
↳ sku | string | Stock keeping unit |
↳ tracked | boolean | Whether inventory is tracked |
↳ levels | array | Inventory levels at different locations |
↳ id | string | Inventory level identifier (GID) |
↳ available | number | Available quantity |
↳ onHand | number | On-hand quantity |
↳ committed | number | Committed quantity |
↳ incoming | number | Incoming quantity |
↳ reserved | number | Reserved quantity |
↳ location | object | Location for this inventory level |
↳ id | string | Location identifier (GID) |
↳ name | string | Location name |
Adjust inventory quantity для a product variant at a specific location
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
inventoryItemId | string | Да | Inventory item ID (gid://shopify/InventoryItem/123456789) |
locationId | string | Да | Location ID (gid://shopify/Location/123456789) |
delta | number | Да | Amount to adjust (positive to increase, negative to decrease) |
| Параметр | Тип | Описание |
|---|
inventoryLevel | object | The inventory adjustment result |
↳ adjustmentGroup | object | Inventory adjustment group details |
↳ createdAt | string | Adjustment timestamp (ISO 8601) |
↳ reason | string | Adjustment reason |
↳ changes | array | Inventory changes applied |
↳ name | string | Quantity name (e.g., available) |
↳ delta | number | Quantity change amount |
↳ quantityAfterChange | number | Quantity after adjustment |
↳ item | object | Inventory item |
↳ id | string | Inventory item identifier (GID) |
↳ sku | string | Stock keeping unit |
↳ location | object | Location of the adjustment |
↳ id | string | Location identifier (GID) |
↳ name | string | Location name |
Список товарных запасов locations from your Shopify store. Use this to find location IDs needed для inventory operations.
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
first | number | Нет | Number of locations to return (default: 50, max: 250) |
includeInactive | boolean | Нет | Whether to include deactivated locations (default: false) |
| Параметр | Тип | Описание |
|---|
locations | array | List of locations С помощьюir IDs, names, and addresses |
↳ id | string | Unique location identifier (GID) |
↳ name | string | Location name |
↳ isActive | boolean | Произошла ли location is active |
↳ fulfillsOnlineOrders | boolean | Произошла ли location fulfills online orders |
↳ address | object | Location address |
pageInfo | object | Pagination information |
↳ hasNextPage | boolean | Произошла лиre are more results after this page |
↳ hasPreviousPage | boolean | Произошла лиre are results before this page |
Создать a fulfillment to mark order items as shipped. Требуется fulfillment order ID (get this from the order details).
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
fulfillmentOrderId | string | Да | The fulfillment order ID (e.g., gid://shopify/FulfillmentOrder/123456789) |
trackingNumber | string | Нет | Tracking number for the shipment |
trackingCompany | string | Нет | Shipping carrier name (e.g., UPS, FedEx, USPS, DHL) |
trackingUrl | string | Нет | URL to track the shipment |
notifyCustomer | boolean | Нет | Whether to send a shipping confirmation email to the customer (default: true) |
| Параметр | Тип | Описание |
|---|
fulfillment | object | The created fulfillment with tracking info and fulfilled items |
↳ id | string | Unique fulfillment identifier (GID) |
↳ status | string | Fulfillment status (pending, open, success, cancelled, error, failure) |
↳ createdAt | string | Creation timestamp (ISO 8601) |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ trackingInfo | array | Tracking information for shipments |
↳ fulfillmentLineItems | array | Fulfilled line items |
↳ id | string | Fulfillment line item identifier (GID) |
↳ quantity | number | Quantity fulfilled |
↳ lineItem | object | Associated order line item |
↳ title | string | Product title |
Список product collections from your Shopify store. Filter by title, type (custom/smart), или handle.
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
first | number | Нет | Number of collections to return (default: 50, max: 250) |
query | string | Нет | Search query to filter collections (e.g., "title:Summer" or "collection_type:smart") |
| Параметр | Тип | Описание |
|---|
collections | array | List of collections С помощьюir IDs, titles, and product counts |
↳ id | string | Unique collection identifier (GID) |
↳ title | string | Collection title |
↳ handle | string | URL-friendly collection identifier |
↳ description | string | Plain text description |
↳ descriptionHtml | string | HTML-formatted description |
↳ productsCount | number | Number of products in the collection |
↳ sortOrder | string | Product sort order in the collection |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ image | object | Collection image |
pageInfo | object | Pagination information |
↳ hasNextPage | boolean | Произошла лиre are more results after this page |
↳ hasPreviousPage | boolean | Произошла лиre are results before this page |
Получить a specific collection от ID, including its products. Use this to retrieve products within a collection.
| Параметр | Тип | Обязательный | Описание |
|---|
shopDomain | string | Да | Your Shopify store domain (e.g., mystore.myshopify.com) |
collectionId | string | Да | The collection ID (e.g., gid://shopify/Collection/123456789) |
productsFirst | number | Нет | Number of products to return from this collection (default: 50, max: 250) |
| Параметр | Тип | Описание |
|---|
collection | object | The collection details including its products |
↳ id | string | Unique collection identifier (GID) |
↳ title | string | Collection title |
↳ handle | string | URL-friendly collection identifier |
↳ description | string | Plain text description |
↳ descriptionHtml | string | HTML-formatted description |
↳ productsCount | number | Number of products in the collection |
↳ sortOrder | string | Product sort order in the collection |
↳ updatedAt | string | Last modification timestamp (ISO 8601) |
↳ image | object | Collection image |
↳ products | array | Products in the collection |