shopify-admin
v1.0.3Manage products, orders, customers, inventory, and store configuration
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_application_charges List Application Charges
Retrieves a paginated list of application charges for the store. Use this to view all charges or filter results by cursor position.
| Parameter | Type | Description |
|---|---|---|
fields | A comma-separated list of specific fields to include in the response. Omit to receive all available fields for each charge. | |
since_id | Restrict results to charges after the specified ID. Use this for cursor-based pagination to fetch subsequent pages of results. |
get_application_charge Get Application Charge
Retrieves the details of a specific application charge by its ID, including status, price, and billing information.
| Parameter | Type | Description |
|---|---|---|
application_charge_id * | string | The unique identifier of the application charge to retrieve. |
fields | A comma-separated list of specific fields to include in the response. If omitted, all fields are returned. |
list_application_credits List Application Credits
Retrieves all application credits for the store. Use this to view credit transactions and their details.
| Parameter | Type | Description |
|---|---|---|
fields | A comma-separated list of field names to include in the response. Omit this parameter to return all available fields. |
get_application_credit Get Application Credit
Retrieves the details of a single application credit by its ID. Use this to fetch information about a specific credit issued to an app.
| Parameter | Type | Description |
|---|---|---|
application_credit_id * | string | The unique identifier of the application credit to retrieve. |
fields | A comma-separated list of specific fields to include in the response. Omit to return all available fields. |
list_article_authors List Article Authors
Retrieves a list of all article authors available in the online store. Use this to discover which authors have contributed articles.
list_article_tags List Article Tags
Retrieves all tags used across articles in the online store. Results can be optionally ordered by popularity to surface the most frequently used tags.
| Parameter | Type | Description |
|---|---|---|
limit | Maximum number of tags to return in the response. Limits the size of the result set. | |
popular | When included, orders results by tag popularity in descending order (most popular first). Omit this parameter to retrieve tags in default order. |
list_blog_articles List Blog Articles
Retrieves a paginated list of articles from a specific blog. Results are paginated using link headers in the response; use the provided links to navigate pages rather than the page parameter.
| Parameter | Type | Description |
|---|---|---|
blog_id * | string | The unique identifier of the blog from which to retrieve articles. |
author | Return only articles written by this specific author. | |
fields | Limit the response to only these fields, specified as a comma-separated list of field names. Reduces payload size when only certain article properties are needed. | |
handle | Return only the article with this specific URL-friendly handle. | |
limit | Maximum number of articles to return per request, between 1 and 250 (defaults to 50). | |
published_status | Filter articles by publication status: published (live articles only), unpublished (draft articles only), or any (all articles regardless of status). Defaults to any. | |
since_id | Return only articles with an ID greater than this value, useful for pagination and filtering out previously retrieved results. | |
tag | Return only articles tagged with this specific tag. |
count_articles_in_blog Count Articles in Blog
Retrieves the total count of articles in a specific blog, with optional filtering by publication status.
| Parameter | Type | Description |
|---|---|---|
blog_id * | string | The unique identifier of the blog for which to count articles. |
published_status | Filter articles by publication status: use 'published' to count only published articles, 'unpublished' to count only unpublished articles, or 'any' to count all articles regardless of status. Defaults… |
get_article Get Article
Retrieves a single article from a blog by its ID. Returns the full article object unless specific fields are requested.
| Parameter | Type | Description |
|---|---|---|
article_id * | string | The unique identifier of the article to retrieve. |
blog_id * | string | The unique identifier of the blog containing the article. |
fields | Comma-separated list of field names to include in the response. If omitted, all fields are returned. |
update_article Update Article
Updates an existing article within a blog. Modify article content, metadata, and publishing settings by providing the blog and article identifiers.
| Parameter | Type | Description |
|---|---|---|
article_id * | string | The unique identifier of the article to update. |
blog_id * | string | The unique identifier of the blog containing the article to update. |
delete_article Delete Article
Permanently deletes an article from a blog. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
article_id * | string | The unique identifier of the article to delete. |
blog_id * | string | The unique identifier of the blog containing the article to delete. |
list_carrier_services List Carrier Services
Retrieves all carrier services available for the store. Carrier services represent shipping methods that can be offered to customers during checkout.
get_carrier_service Get Carrier Service
Retrieves the details of a single carrier service by its unique identifier. Use this to fetch configuration and capabilities for a specific shipping carrier integration.
| Parameter | Type | Description |
|---|---|---|
carrier_service_id * | string | The unique identifier of the carrier service to retrieve. |
update_carrier_service Update Carrier Service
Updates an existing carrier service configuration. Only the application that originally created the carrier service can modify it.
| Parameter | Type | Description |
|---|---|---|
carrier_service_id * | string | The unique identifier of the carrier service to update. |
delete_carrier_service Delete Carrier Service
Permanently deletes a carrier service from the store. This removes the shipping method and all associated configurations.
| Parameter | Type | Description |
|---|---|---|
carrier_service_id * | string | The unique identifier of the carrier service to delete. |
get_checkouts_count Get Checkouts Count
Retrieves the count of abandoned checkouts from the past 90 days, optionally filtered by status or since a specific checkpoint ID.
| Parameter | Type | Description |
|---|---|---|
since_id | Restrict the count to checkouts created after the specified checkout ID, useful for pagination or incremental syncing. | |
status | Filter checkouts by status: 'open' counts only active abandoned checkouts (default), while 'closed' counts only completed or cancelled abandoned checkouts. |
get_collection Get Collection
Retrieves a single collection by its ID. Use this to fetch detailed information about a specific collection, including its products, metadata, and configuration.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | The unique identifier of the collection to retrieve. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields are returned, reducing payload size. |
list_collection_products List Collection Products
Retrieve products belonging to a specific collection, sorted according to the collection's configured sort order. Results are paginated using link-based navigation provided in response headers.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | The unique identifier of the collection whose products you want to retrieve. |
limit | The maximum number of products to return per request, ranging from 1 to 250 products. Defaults to 50 if not specified. |
list_collects List Collects
Retrieves a paginated list of collects (product-to-collection associations). Results are paginated using cursor-based links provided in response headers; use the link relations to navigate pages rather than the page parameter.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of field names to include in the response. Omit to return all fields. | |
limit | Maximum number of results to return per request, between 1 and 250. Defaults to 50 if not specified. | |
since_id | Restrict results to collects created after the specified collect ID, useful for incremental syncing. |
get_collects_count Get Collects Count
Retrieves the total count of collects, optionally filtered by a specific collection. Use this to determine how many products are associated with a collection or to get the total number of collects across all collections.
| Parameter | Type | Description |
|---|---|---|
collection_id | integer | Filter the count to only include collects within a specific collection. When omitted, returns the total count of all collects. |
get_collect Get Collect
Retrieves a specific product collection by its ID. Use this to fetch detailed information about a single collect resource.
| Parameter | Type | Description |
|---|---|---|
collect_id * | string | The unique identifier of the collect to retrieve. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields are returned, reducing payload size. |
remove_product_from_collection Remove Product from Collection
Removes a product from a collection by deleting the collect relationship. This operation unlinks a product from a specific collection without affecting the product or collection itself.
| Parameter | Type | Description |
|---|---|---|
collect_id * | string | The unique identifier of the collect relationship to remove. This ID represents the link between a product and a collection. |
list_countries List Countries
Retrieves a list of all countries available in the Shopify store, optionally filtered and with customizable field selection.
| Parameter | Type | Description |
|---|---|---|
fields | Limit the response to specific fields by providing a comma-separated list of field names, reducing payload size when only certain data is needed. | |
since_id | Restrict results to countries after the specified country ID, useful for pagination or resuming from a previous request. |
get_countries_count Get Countries Count
Retrieves the total count of countries available in the store's system. Useful for understanding the scope of country data without fetching individual records.
get_country Get Country
Retrieves detailed information about a specific country, including its provinces, tax rates, and other regional properties.
| Parameter | Type | Description |
|---|---|---|
country_id * | string | The unique identifier of the country to retrieve. |
fields | Comma-separated list of specific fields to include in the response. If omitted, all fields are returned. |
delete_country Delete Country
Permanently deletes a country from the store's shipping configuration. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
country_id * | string | The unique identifier of the country to delete. |
list_provinces_for_country List Provinces for Country
Retrieves a list of provinces or states for a specified country. Use this to populate location selectors or display regional subdivisions.
| Parameter | Type | Description |
|---|---|---|
country_id * | string | The unique identifier of the country for which to retrieve provinces. |
fields | Comma-separated list of field names to include in the response. Omit to return all available fields. | |
since_id | Restrict results to provinces after the specified ID, useful for pagination or fetching only recently added provinces. |
get_province_count_for_country Get Province Count for Country
Retrieves the total count of provinces or states for a specified country. Useful for understanding administrative divisions available in a country.
| Parameter | Type | Description |
|---|---|---|
country_id * | string | The unique identifier of the country for which to retrieve the province count. |
get_province Get Province
Retrieves detailed information about a specific province within a country. Use this to fetch province data such as name, code, and tax information for a given country.
| Parameter | Type | Description |
|---|---|---|
country_id * | string | The unique identifier of the country. Required to scope the province lookup to the correct country. |
province_id * | string | The unique identifier of the province within the specified country. Required to retrieve the specific province details. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields will be returned, allowing you to optimize response payload size. |
list_currencies List Currencies
Retrieves a list of all currencies that are enabled and available on the shop for transactions and pricing.
list_custom_collections List Custom Collections
Retrieves a list of custom collections from your store, with support for filtering, sorting, and field selection. Results are paginated using cursor-based links provided in response headers.
| Parameter | Type | Description |
|---|---|---|
fields | Limit the response to only these fields, specified as a comma-separated list of field names. Reduces payload size when you only need specific data. | |
handle | Filter results to collections matching this handle (the URL-friendly identifier). | |
ids | Filter results to only include collections with IDs matching this comma-separated list. | |
limit | Maximum number of results to return per request, between 1 and 250. Defaults to 50 if not specified. | |
product_id | Filter results to only collections that contain the product with this ID. | |
published_status | Filter by publication status: 'published' for published collections only, 'unpublished' for unpublished only, or 'any' for all statuses. Defaults to 'any'. | |
since_id | Return only collections with IDs greater than this value, useful for cursor-based pagination when combined with limit. | |
title | Filter results to collections matching this exact title. |
count_custom_collections Count Custom Collections
Retrieves the total count of custom collections, optionally filtered by title, product inclusion, or published status.
| Parameter | Type | Description |
|---|---|---|
product_id | Filter the count to include only custom collections that contain this specific product. | |
published_status | Filter the count by publication status: 'published' for published collections only, 'unpublished' for unpublished collections only, or 'any' for all collections regardless of status. Defaults to 'any'… | |
title | Filter the count to include only custom collections with this exact title. |
get_custom_collection Get Custom Collection
Retrieves a single custom collection by its ID. Use this to fetch detailed information about a specific custom collection in your store.
| Parameter | Type | Description |
|---|---|---|
custom_collection_id * | string | The unique identifier of the custom collection to retrieve. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields are returned, reducing payload size. |
update_custom_collection Update Custom Collection
Updates the properties of an existing custom collection, such as title, description, image, or sort order of products.
| Parameter | Type | Description |
|---|---|---|
custom_collection_id * | string | The unique identifier of the custom collection to update. |
delete_custom_collection Delete Custom Collection
Permanently deletes a custom collection from the store. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
custom_collection_id * | string | The unique identifier of the custom collection to delete. |
get_customer_saved_search Get Customer Saved Search
Retrieves a single customer saved search by its ID. Use this to fetch detailed information about a specific saved search that a customer has created.
| Parameter | Type | Description |
|---|---|---|
customer_saved_search_id * | string | The unique identifier of the customer saved search to retrieve. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields are returned, reducing payload size. |
update_customer_saved_search Update Customer Saved Search
Updates an existing customer saved search with new criteria or settings. This allows modification of a previously created saved search that customers can use to filter and organize customer data.
| Parameter | Type | Description |
|---|---|---|
customer_saved_search_id * | string | The unique identifier of the customer saved search to update. This ID is returned when the saved search is created and is required to target the correct search for modification. |
delete_customer_saved_search Delete Customer Saved Search
Permanently deletes a customer saved search by its ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
customer_saved_search_id * | string | The unique identifier of the customer saved search to delete. |
list_customers_for_saved_search List Customers for Saved Search
Retrieves all customers matching the criteria defined in a customer saved search. Use this to fetch customer lists based on pre-configured search filters.
| Parameter | Type | Description |
|---|---|---|
customer_saved_search_id * | string | The unique identifier of the customer saved search whose matching customers you want to retrieve. |
fields | Comma-separated list of customer field names to include in the response. Omit to return all available fields. | |
limit | The maximum number of customer records to return per request, ranging from 1 to 250. Defaults to 50 results. | |
order | Specifies the field and sort direction for ordering results. Defaults to sorting by last order date in descending order. |
list_customers List Customers
Retrieves a paginated list of customers from the store. Results are paginated using cursor-based links provided in response headers; use the link relations to navigate pages rather than the page parameter.
| Parameter | Type | Description |
|---|---|---|
fields | Restrict the response to only these fields, specified as a comma-separated list of field names; omit to receive all available fields. | |
ids | Filter results to only customers with IDs matching this comma-separated list of customer identifiers. | |
limit | Maximum number of customers to return per request; defaults to 50 and cannot exceed 250. | |
since_id | Return only customers with IDs greater than this value, useful for cursor-based pagination when link headers are unavailable. |
get_customers_count Get Customers Count
Retrieves the total count of all customers in the store. Useful for understanding customer base size and pagination planning.
search_customers Search Customers
Search for customers in the shop by query text, with support for sorting and field filtering. Results are paginated using cursor-based links provided in response headers.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of field names to include in the response. If omitted, all fields are returned. | |
limit | Maximum number of results to return per request. Must be between 1 and 250. Defaults to 50 results. | |
order | Specify the field and direction to sort results. Use format: field_name ASC or field_name DESC. Defaults to sorting by last order date in descending order. | |
query | Text query to search across customer data fields such as name, email, phone, and address information. |
get_customer Get Customer
Retrieves a single customer by ID from the Shopify store. Use this to fetch detailed customer information including contact details, addresses, and order history.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The unique identifier of the customer to retrieve. |
fields | Comma-separated list of specific fields to return in the response. Omit to retrieve all available customer fields. |
update_customer Update Customer
Updates an existing customer's information in Shopify. Modify customer details such as name, email, phone, and other profile attributes.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The unique identifier of the customer to update. This ID is required to specify which customer record should be modified. |
delete_customer Delete Customer
Permanently deletes a customer from the store. The deletion will fail if the customer has any existing orders.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The unique identifier of the customer to delete. |
generate_customer_account_activation_url Generate Customer Account Activation URL
Generate a one-time account activation URL for a customer whose account is not yet enabled. The URL expires after 30 days; generating a new URL invalidates any previously generated URLs.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The unique identifier of the customer for whom to generate the activation URL. |
list_customer_addresses List Customer Addresses
Retrieves all addresses associated with a specific customer. Results are paginated using link-based navigation provided in response headers.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The unique identifier of the customer whose addresses you want to retrieve. |
add_address_for_customer Add Address for Customer
Adds a new address to a customer's address book. The address will be associated with the specified customer and can be used for shipping or billing purposes.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The unique identifier of the customer to whom the address will be added. |
update_customer_addresses Update Customer Addresses
Perform bulk operations on multiple addresses for a specific customer, such as setting a default address or removing addresses in batch.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The unique identifier of the customer whose addresses will be modified. |
address_ids | integer | Array of address IDs to include in the bulk operation. The order may be significant depending on the operation type. |
operation | string | The type of bulk operation to perform on the specified addresses (e.g., set as default, delete, or activate). |
get_customer_address Get Customer Address
Retrieves the details of a specific address associated with a customer account.
| Parameter | Type | Description |
|---|---|---|
address_id * | string | The unique identifier of the address to retrieve. |
customer_id * | string | The unique identifier of the customer who owns the address. |
update_customer_address Update Customer Address
Updates an existing address for a customer. Provide the customer ID and address ID to modify the address details.
| Parameter | Type | Description |
|---|---|---|
address_id * | string | The unique identifier of the specific address to update for the customer. |
customer_id * | string | The unique identifier of the customer whose address is being updated. |
delete_customer_address Delete Customer Address
Removes a specific address from a customer's address list. This operation permanently deletes the address record associated with the given customer.
| Parameter | Type | Description |
|---|---|---|
address_id * | string | The unique identifier of the address to be deleted from the customer's address list. |
customer_id * | string | The unique identifier of the customer whose address is being removed. |
set_customer_default_address Set Customer Default Address
Designates a specific address as the default address for a customer. This address will be used as the primary contact address for the customer account.
| Parameter | Type | Description |
|---|---|---|
address_id * | string | The unique identifier of the address to set as the customer's default address. |
customer_id * | string | The unique identifier of the customer whose default address is being updated. |
list_customer_orders List Customer Orders
Retrieves all orders for a specific customer. Supports standard order resource query parameters for filtering, sorting, and pagination.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The unique identifier of the customer whose orders should be retrieved. |
send_customer_invite Send Customer Invite
Sends an account invitation email to a customer, allowing them to create or access their account.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | The unique identifier of the customer who will receive the invitation. |
lookup_discount_code Lookup Discount Code
Retrieves the location of a discount code by its code value. The discount code's location is returned in the HTTP location header rather than in the response body.
| Parameter | Type | Description |
|---|---|---|
code | string | The discount code string to look up. Used to find and return the resource location of the matching discount code. |
list_events List Events
Retrieves a paginated list of events from the store. Results are paginated using cursor-based links provided in response headers; use the link relations to navigate pages rather than the page parameter.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of field names to include in the response; omit to return all fields. | |
filter | Filter events by a specific criteria or resource type to narrow results. | |
limit | Maximum number of events to return per request. Defaults to 50 if not specified; maximum allowed is 250. | |
since_id | Return only events that occurred after the specified event ID, useful for incremental syncing. | |
verb | Filter events by action type (e.g., create, update, delete) to show only events of a certain kind. |
get_events_count Get Events Count
Retrieves the total count of events in the Shopify store. Use this to get a quick aggregate metric without fetching individual event records.
get_event Get Event
Retrieves a single event by its ID from the Shopify admin. Use this to fetch detailed information about a specific event that occurred in your store.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | The unique identifier of the event to retrieve. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields will be returned, reducing payload size. |
get_fulfillment_order Get Fulfillment Order
Retrieves the details of a specific fulfillment order by its ID, including order status, line items, and fulfillment tracking information.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order to retrieve. |
cancel_fulfillment_order Cancel Fulfillment Order
Cancels a fulfillment order, marking it as no longer needed for processing. This operation prevents further fulfillment actions on the specified order.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order to cancel. This ID references a specific fulfillment order within your store. |
send_fulfillment_order_cancellation_request Send Fulfillment Order Cancellation Request
Sends a cancellation request to the fulfillment service for a specific fulfillment order. This notifies the fulfillment provider that the order should be cancelled if not yet fulfilled.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order to cancel. This ID references a specific fulfillment order within your Shopify store. |
message | An optional message explaining the reason for the cancellation request. This message is typically sent to the fulfillment service to provide context for the cancellation. |
accept_fulfillment_order_cancellation_request Accept Fulfillment Order Cancellation Request
Accepts a cancellation request for a fulfillment order, notifying the fulfillment service that the cancellation has been approved. Optionally include a reason for accepting the request.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order for which the cancellation request is being accepted. |
message | An optional message explaining the reason for accepting the cancellation request. |
reject_fulfillment_order_cancellation_request Reject Fulfillment Order Cancellation Request
Rejects a cancellation request that was sent to a fulfillment service for a specific fulfillment order. Use this when you need to decline a cancellation and optionally provide a reason to the fulfillment service.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order for which the cancellation request should be rejected. |
message | An optional message explaining why the cancellation request is being rejected. This reason will be communicated to the fulfillment service. |
close_fulfillment_order Close Fulfillment Order
Marks an in-progress fulfillment order as incomplete, indicating the fulfillment service cannot ship remaining items and is closing the order.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order to close. |
message | An optional reason or note explaining why the fulfillment order is being marked as incomplete. |
send_fulfillment_request Send Fulfillment Request
Sends a fulfillment request to the fulfillment service for a specific fulfillment order, optionally targeting specific line items or including a message for the fulfillment provider.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order to request fulfillment for. |
fulfillment_order_line_items | An optional list of specific line items from the fulfillment order to request for fulfillment. If omitted, all unfulfilled line items in the order are included in the request. | |
message | An optional message to include with the fulfillment request, typically for communicating special instructions or notes to the fulfillment service. |
accept_fulfillment_request Accept Fulfillment Request
Accepts a fulfillment request that was sent to a fulfillment service for a specific fulfillment order, optionally providing a reason for acceptance.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order for which the fulfillment request is being accepted. |
message | An optional message explaining the reason for accepting the fulfillment request. |
reject_fulfillment_request Reject Fulfillment Request
Rejects a fulfillment request that was sent to a fulfillment service for a specific fulfillment order, optionally providing a reason for the rejection.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order for which the fulfillment request should be rejected. |
message | An optional message explaining the reason for rejecting the fulfillment request. |
list_fulfillments_for_order List Fulfillments for Order
Retrieves all fulfillments associated with a specific fulfillment order. Use this to view fulfillment details and status for a given order.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order. This ID is required to retrieve its associated fulfillments. |
list_locations_for_fulfillment_order_move List Locations for Fulfillment Order Move
Retrieves a list of locations where a fulfillment order can be moved to. Results are sorted alphabetically by location name in ascending order.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order for which to retrieve available move destinations. |
move_fulfillment_order Move Fulfillment Order
Relocates a fulfillment order to a different merchant-managed location, enabling inventory redistribution across fulfillment centers.
| Parameter | Type | Description |
|---|---|---|
fulfillment_order_id * | string | The unique identifier of the fulfillment order to be moved. |
new_location_id | The unique identifier of the destination location where the fulfillment order will be transferred. Must be a merchant-managed location. |
list_fulfillment_services List Fulfillment Services
Retrieve a list of fulfillment service providers. By default, returns only fulfillment providers created by the requesting app, or optionally all available providers in the store.
| Parameter | Type | Description |
|---|---|---|
scope | Filter scope for returned fulfillment providers. Use 'current_client' (default) to return only providers created by this app, or 'all' to return every fulfillment provider in the store. |
get_fulfillment_service Get Fulfillment Service
Retrieve detailed information about a specific fulfillment service by its ID. Use this to fetch configuration, capabilities, and status of a fulfillment service integrated with your Shopify store.
| Parameter | Type | Description |
|---|---|---|
fulfillment_service_id * | string | The unique identifier of the fulfillment service to retrieve. This ID is assigned by Shopify when the service is created or integrated. |
update_fulfillment_service Update Fulfillment Service
Update the configuration and settings of an existing fulfillment service, such as its name, callback URLs, or tracking capabilities.
| Parameter | Type | Description |
|---|---|---|
fulfillment_service_id * | string | The unique identifier of the fulfillment service to update. |
delete_fulfillment_service Delete Fulfillment Service
Permanently delete a fulfillment service by its ID. This removes the fulfillment service from your Shopify store.
| Parameter | Type | Description |
|---|---|---|
fulfillment_service_id * | string | The unique identifier of the fulfillment service to delete. |
cancel_fulfillment Cancel Fulfillment
Cancels an existing fulfillment, preventing further processing or shipment of the associated items.
| Parameter | Type | Description |
|---|---|---|
fulfillment_id * | string | The unique identifier of the fulfillment to cancel. This ID references a specific fulfillment record that must exist and be in a cancellable state. |
update_fulfillment_tracking Update Fulfillment Tracking
Updates the tracking information for a fulfillment, allowing you to modify shipment tracking details after the fulfillment has been created.
| Parameter | Type | Description |
|---|---|---|
fulfillment_id * | string | The unique identifier of the fulfillment whose tracking information should be updated. |
list_gift_cards List Gift Cards
Retrieves a paginated list of gift cards from the store, optionally filtered by status. Results are paginated using cursor-based links provided in response headers.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of field names to include in the response; omit to return all fields. | |
limit | Maximum number of results to return per request, between 1 and 250 (defaults to 50). | |
since_id | Cursor-based pagination parameter: retrieve only gift cards with IDs after the specified ID to continue from a previous result set. | |
status | Filter results to gift cards with a specific status: enabled to show only active gift cards, or disabled to show only inactive gift cards. |
get_gift_cards_count Get Gift Cards Count
Retrieves the total count of gift cards in the store, optionally filtered by status (enabled or disabled).
| Parameter | Type | Description |
|---|---|---|
status | Filter the count to only include gift cards with a specific status: enabled for active gift cards, or disabled for inactive gift cards. Omit to count all gift cards regardless of status. |
search_gift_cards Search Gift Cards
Search for gift cards using indexed fields like balance, email, or creation date. Results are paginated and can be filtered, sorted, and limited to specific fields.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of field names to include in the response. Omit to return all fields. | |
limit | Maximum number of results to return per request, between 1 and 250. Defaults to 50 results. | |
order | The field and direction to sort results by. Specify a field name followed by ASC or DESC (for example: balance DESC or created_at ASC). Defaults to sorting by disabled_at in descending order. | |
query | The search query text to match against indexed gift card fields including created_at, updated_at, disabled_at, balance, initial_value, amount_spent, email, and last_characters. |
get_gift_card Get Gift Card
Retrieves the details of a single gift card by its unique identifier. Use this to fetch gift card information such as balance, status, and creation date.
| Parameter | Type | Description |
|---|---|---|
gift_card_id * | string | The unique identifier of the gift card to retrieve. |
update_gift_card Update Gift Card
Updates an existing gift card's expiry date, note, and template suffix. The gift card's balance cannot be modified through the API.
| Parameter | Type | Description |
|---|---|---|
gift_card_id * | string | The unique identifier of the gift card to update. |
disable_gift_card Disable Gift Card
Permanently disables a gift card, preventing further use. This action cannot be reversed.
| Parameter | Type | Description |
|---|---|---|
gift_card_id * | string | The unique identifier of the gift card to disable. |
list_inventory_items List Inventory Items
Retrieves a paginated list of inventory items. Results are paginated using link headers in the response; use the provided links to navigate pages rather than the page parameter.
| Parameter | Type | Description |
|---|---|---|
ids | string | Filter results to specific inventory items by their numeric IDs. Provide one or more comma-separated integer IDs. |
limit | Maximum number of results to return per request, between 1 and 250 items. Defaults to 50 if not specified. |
get_inventory_item Get Inventory Item
Retrieves a single inventory item by its unique identifier. Use this to fetch detailed inventory information for a specific product variant.
| Parameter | Type | Description |
|---|---|---|
inventory_item_id * | string | The unique identifier of the inventory item to retrieve. |
update_inventory_item Update Inventory Item
Updates an existing inventory item in your store's inventory system. Use this to modify properties like SKU, tracked status, or other inventory attributes for a specific item.
| Parameter | Type | Description |
|---|---|---|
inventory_item_id * | string | The unique identifier of the inventory item to update. This ID is assigned by Shopify when the inventory item is created. |
list_inventory_levels List Inventory Levels
Retrieves inventory levels across locations and inventory items. You must filter by at least one inventory item ID or location ID to retrieve results.
| Parameter | Type | Description |
|---|---|---|
inventory_item_ids | Comma-separated list of inventory item IDs to filter results. Maximum of 50 IDs per request. | |
limit | Maximum number of results to return per request. Defaults to 50 if not specified; maximum allowed is 250. | |
location_ids | Comma-separated list of location IDs to filter results. Maximum of 50 IDs per request. Use the Location resource to find location IDs. |
delete_inventory_level Delete Inventory Level
Removes an inventory level for a specific inventory item at a location. This disconnects the item from that location; note that every inventory item must retain at least one inventory level, so connect the item to another location before deleting its last level.
| Parameter | Type | Description |
|---|---|---|
inventory_item_id | integer | The unique identifier of the inventory item whose level should be deleted. |
location_id | integer | The unique identifier of the location where the inventory level should be removed. |
list_locations List Locations
Retrieves all inventory locations for the store. Use this to get a complete list of physical and virtual locations where inventory is managed.
get_locations_count Get Locations Count
Retrieves the total count of locations in the Shopify store. Use this to determine how many physical or virtual locations exist without fetching full location details.
get_location Get Location
Retrieves detailed information about a specific inventory location by its ID. Use this to fetch location details such as address, fulfillment capabilities, and operational status.
| Parameter | Type | Description |
|---|---|---|
location_id * | string | The unique identifier of the location to retrieve. This ID is assigned by Shopify and is required to fetch the specific location's details. |
list_inventory_levels_for_location List Inventory Levels for Location
Retrieves a paginated list of inventory levels for a specific location. Results are paginated using link headers in the response; use the provided links to navigate pages rather than query parameters.
| Parameter | Type | Description |
|---|---|---|
location_id * | string | The unique identifier of the location for which to retrieve inventory levels. |
list_metafields_for_product_image List Metafields for Product Image
Retrieves metafields associated with a specific Product Image resource. Use owner_id and owner_resource to filter metafields for a particular image.
| Parameter | Type | Description |
|---|---|---|
metafieldowner_id | integer | The unique identifier of the Product Image resource that owns the metafields. Required when filtering metafields by a specific image. |
metafieldowner_resource | string | The resource type that owns the metafields. Should be set to 'product_image' to retrieve metafields for Product Image resources. |
get_metafields_count Get Metafields Count
Retrieves the total count of metafields associated with a resource. Use this to determine how many custom metadata fields exist without fetching the full list.
get_metafield Get Metafield
Retrieves a single metafield by its ID. Use this to fetch detailed information about a specific metafield attached to a resource.
| Parameter | Type | Description |
|---|---|---|
metafield_id * | string | The unique identifier of the metafield to retrieve. |
fields | Optionally limit the response to specific fields by providing a comma-separated list of field names. Reduces payload size when only certain metafield properties are needed. |
update_metafield Update Metafield
Updates an existing metafield by ID. Modify metafield properties such as namespace, key, value, and type.
| Parameter | Type | Description |
|---|---|---|
metafield_id * | string | The unique identifier of the metafield to update. This ID is returned when a metafield is created and is required to target the specific metafield for modification. |
delete_metafield Delete Metafield
Permanently deletes a metafield by its ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
metafield_id * | string | The unique identifier of the metafield to delete. |
list_fulfillment_orders List Fulfillment Orders
Retrieves all fulfillment orders associated with a specific order, including their current status and fulfillment details.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order for which to retrieve fulfillment orders. |
list_order_fulfillments List Order Fulfillments
Retrieves all fulfillments associated with a specific order. Results are paginated using link headers in the response; use the provided links to navigate pages rather than the page parameter.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order for which to retrieve fulfillments. |
fields | A comma-separated list of specific fields to include in the response. Omit to return all fields. | |
limit | Maximum number of fulfillments to return per request. Defaults to 50; maximum allowed is 250. | |
since_id | Restrict results to fulfillments created after the specified fulfillment ID, useful for pagination when combined with link headers. |
create_fulfillment_for_order Create Fulfillment for Order
Create a fulfillment for specified line items in an order. The fulfillment status depends on the fulfillment service type: manual/custom services set status immediately, while external services queue the fulfillment with pending status until processed. All line items in a fulfillment must use the same fulfillment service, and refunded orders or line items cannot be fulfilled.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order for which to create the fulfillment. Required to specify which order's line items should be fulfilled. |
get_fulfillment_count Get Fulfillment Count
Retrieves the total count of fulfillments associated with a specific order. Useful for understanding fulfillment status and logistics tracking without fetching full fulfillment details.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order for which to retrieve the fulfillment count. |
get_fulfillment Get Fulfillment
Retrieve detailed information about a specific fulfillment for an order, including tracking and line item fulfillment status.
| Parameter | Type | Description |
|---|---|---|
fulfillment_id * | string | The unique identifier of the fulfillment to retrieve. |
order_id * | string | The unique identifier of the order containing the fulfillment. |
fields | Comma-separated list of specific fields to include in the response. If omitted, all fields are returned. |
update_fulfillment Update Fulfillment
Update fulfillment details for a specific order, such as tracking information, status, or line items included in the shipment.
| Parameter | Type | Description |
|---|---|---|
fulfillment_id * | string | The unique identifier of the fulfillment to update. |
order_id * | string | The unique identifier of the order containing the fulfillment to update. |
cancel_fulfillment_order_2 Cancel Fulfillment Order
Cancel an active fulfillment for a specific order. This operation marks the fulfillment as cancelled and may trigger related notifications depending on the fulfillment state.
| Parameter | Type | Description |
|---|---|---|
fulfillment_id * | string | The unique identifier of the fulfillment to cancel within the specified order. |
order_id * | string | The unique identifier of the order containing the fulfillment to cancel. |
complete_fulfillment Complete Fulfillment
Mark a fulfillment as complete, indicating that all items in the fulfillment have been shipped and are on their way to the customer.
| Parameter | Type | Description |
|---|---|---|
fulfillment_id * | string | The unique identifier of the fulfillment to mark as complete. |
order_id * | string | The unique identifier of the order containing the fulfillment to be completed. |
list_fulfillment_events List Fulfillment Events
Retrieves all events associated with a specific fulfillment for an order, including status updates and tracking information.
| Parameter | Type | Description |
|---|---|---|
fulfillment_id * | string | The unique identifier of the fulfillment within the specified order. |
order_id * | string | The unique identifier of the order containing the fulfillment. |
create_fulfillment_event Create Fulfillment Event
Creates a fulfillment event for a specific fulfillment within an order. Fulfillment events track status changes and milestones in the fulfillment lifecycle.
| Parameter | Type | Description |
|---|---|---|
fulfillment_id * | string | The unique identifier of the fulfillment for which to create the event. |
order_id * | string | The unique identifier of the order containing the fulfillment. |
get_fulfillment_event Get Fulfillment Event
Retrieves a specific fulfillment event for a given order and fulfillment. Use this to fetch details about a particular event in the fulfillment lifecycle, such as tracking updates or status changes.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | The unique identifier of the specific fulfillment event to retrieve. |
fulfillment_id * | string | The unique identifier of the fulfillment within the order. |
order_id * | string | The unique identifier of the order containing the fulfillment event. |
delete_fulfillment_event Delete Fulfillment Event
Deletes a specific fulfillment event from an order's fulfillment. This removes the event record associated with the fulfillment tracking.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | The unique identifier of the fulfillment event to delete. |
fulfillment_id * | string | The unique identifier of the fulfillment within the order that contains the event to delete. |
order_id * | string | The unique identifier of the order containing the fulfillment event to delete. |
open_fulfillment Open Fulfillment
Mark a fulfillment as open, allowing it to receive additional items or changes. This transitions the fulfillment to an open state for the specified order.
| Parameter | Type | Description |
|---|---|---|
fulfillment_id * | string | The unique identifier of the fulfillment to mark as open. |
order_id * | string | The unique identifier of the order containing the fulfillment to be opened. |
list_order_refunds List Order Refunds
Retrieves a list of refunds for a specific order. Results are paginated using link headers in the response; use the provided links to navigate pages rather than the page parameter.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order for which to retrieve refunds. |
fields | Comma-separated list of field names to include in the response. Omit to return all fields. | |
in_shop_currency | When true, displays monetary amounts in the shop's currency for the underlying transaction (defaults to false). | |
limit | Maximum number of refunds to return per request, between 1 and 250 (defaults to 50). |
create_order_refund Create Order Refund
Creates a refund for an order. Use the calculate endpoint first to determine the correct transactions to submit. For multi-currency orders, the currency property is required whenever an amount is specified.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order for which to create a refund. |
currency | The three-letter ISO 4217 currency code for the refund. Required for multi-currency orders when an amount property is provided. | |
discrepancy_reason | An optional reason explaining any discrepancy between calculated and actual refund amounts. Valid values are: restock, damage, customer, or other. | |
note | An optional note to attach to the refund for internal reference. | |
notify | Whether to send a refund notification email to the customer. | |
refund_line_items | A list of line items to refund, each specifying the line_item_id, quantity to refund, restock_type (no_restock, cancel, or return), and location_id (required for cancel or return restock types). The l… | |
shipping | Specifies how much shipping to refund. Provide either full_refund (boolean) to refund all remaining shipping, or amount (decimal) to refund a specific shipping amount. The amount takes precedence if b… | |
transactions | A list of transactions to process as refunds. These should be obtained from the calculate endpoint to ensure accuracy. |
calculate_order_refund Calculate Order Refund
Calculates refund transactions for an order based on specified line items, quantities, restock instructions, and shipping costs. Use this endpoint to generate accurate refund details before creating the actual refund. The response includes suggested refund transactions that must be converted to actual refunds when submitting the refund creation request.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order for which to calculate the refund. |
currency | The three-letter ISO 4217 currency code for the refund amount. Required whenever a shipping amount is specified for multi-currency orders. | |
refund_line_items | A list of line items to refund, each specifying the line item ID, quantity to refund, and how the refund affects inventory (no_restock, cancel, or return). Optionally specify the location_id where ite… | |
shipping | Shipping refund configuration. Specify either full_refund to refund all remaining shipping costs, or amount to refund a specific shipping amount. The amount property takes precedence over full_refund… |
get_refund Get Refund
Retrieves the details of a specific refund associated with an order. Use this to view refund information including amounts, line items, and status.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order containing the refund. |
refund_id * | string | The unique identifier of the refund to retrieve. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields are returned, reducing payload size. | |
in_shop_currency | When enabled, monetary amounts in the response are displayed in the shop's currency rather than the transaction currency. Defaults to false. |
list_order_risks List Order Risks
Retrieves all fraud and risk assessments associated with a specific order. Use this to review potential risks flagged by Shopify's risk analysis system for an order.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order for which to retrieve risk assessments. |
create_order_risk Create Order Risk
Creates a risk assessment record for an order, allowing merchants to flag potential issues or concerns associated with the order.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order for which the risk is being created. |
get_order_risk Get Order Risk
Retrieves a single risk assessment associated with an order. Use this to fetch detailed information about a specific fraud or security risk flagged on an order.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order containing the risk assessment. |
risk_id * | string | The unique identifier of the specific risk assessment to retrieve. |
update_order_risk Update Order Risk
Updates an existing order risk for a specific order. Note that you cannot modify an order risk that was created by another application.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order containing the risk to be updated. |
risk_id * | string | The unique identifier of the order risk to be updated. |
delete_order_risk Delete Order Risk
Deletes a fraud risk assessment associated with an order. Note that you can only delete risks created by your application; risks created by other applications cannot be removed.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The unique identifier of the order containing the risk to delete. |
risk_id * | string | The unique identifier of the risk assessment to delete. |
list_policies List Policies
Retrieves all policies configured for the shop, including return, privacy, shipping, and other store policies.
create_discount_codes_batch Create Discount Codes in Batch
Asynchronously create up to 100 discount codes for a price rule in a single batch job. Returns a discount code creation job object that can be monitored for completion status, import counts, and validation errors.
| Parameter | Type | Description |
|---|---|---|
price_rule_id * | string | The unique identifier of the price rule for which discount codes will be created. |
get_discount_code_batch Get Discount Code Batch
Retrieves the status and details of a discount code creation job batch for a specific price rule.
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The unique identifier of the batch job to retrieve status and results for. |
price_rule_id * | string | The unique identifier of the price rule associated with the discount code batch job. |
list_discount_codes_for_batch List Discount Codes for Batch
Retrieves all discount codes generated from a specific batch job within a price rule. Results include successfully created codes (with populated id) and codes that failed during creation (with populated errors).
| Parameter | Type | Description |
|---|---|---|
batch_id * | string | The unique identifier of the batch job for which to retrieve discount codes. |
price_rule_id * | string | The unique identifier of the price rule that contains the discount code batch job. |
list_discount_codes_for_price_rule List Discount Codes for Price Rule
Retrieve all discount codes associated with a specific price rule. Results are paginated using link headers in the response; use the provided links to navigate pages rather than query parameters.
| Parameter | Type | Description |
|---|---|---|
price_rule_id * | string | The unique identifier of the price rule for which to retrieve associated discount codes. |
create_discount_code Create Discount Code
Creates a new discount code associated with a specific price rule. The discount code can be used by customers to apply the price rule's discounts during checkout.
| Parameter | Type | Description |
|---|---|---|
price_rule_id * | string | The unique identifier of the price rule to which this discount code will be associated. This price rule must already exist. |
get_discount_code Get Discount Code
Retrieves a single discount code associated with a specific price rule. Use this to fetch detailed information about a discount code by its ID.
| Parameter | Type | Description |
|---|---|---|
discount_code_id * | string | The unique identifier of the discount code to retrieve. |
price_rule_id * | string | The unique identifier of the price rule that contains the discount code. |
update_discount_code Update Discount Code
Updates an existing discount code associated with a price rule. Modify discount code properties such as code value, usage limits, and other configurations.
| Parameter | Type | Description |
|---|---|---|
discount_code_id * | string | The unique identifier of the discount code to update. |
price_rule_id * | string | The unique identifier of the price rule that contains the discount code being updated. |
delete_discount_code Delete Discount Code
Permanently deletes a specific discount code associated with a price rule. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
discount_code_id * | string | The unique identifier of the discount code to be deleted. |
price_rule_id * | string | The unique identifier of the price rule that contains the discount code to be deleted. |
list_products List Products
Retrieves a paginated list of products from the store, with support for filtering by various attributes and controlling which fields are returned. Results are paginated using link headers rather than page parameters.
| Parameter | Type | Description |
|---|---|---|
collection_id | Filter results to products in this collection by collection ID. | |
fields | Return only specified fields as a comma-separated list; omit to return all fields. | |
handle | Filter results to products with this handle (URL-friendly identifier). | |
ids | Filter results to only products with IDs in this comma-separated list. | |
limit | Maximum number of products to return per page; defaults to 50 and cannot exceed 250. | |
presentment_currencies | Return presentment prices in only these currencies, specified as a comma-separated list of ISO 4217 currency codes. | |
product_type | Filter results to products of this type. | |
published_status | Filter results by publication status: published, unpublished, or any (default). | |
since_id | Return only products with IDs greater than this value, useful for cursor-based pagination. | |
status | Filter results by product status: active (default), archived, or draft. | |
title | Filter results to products matching this title exactly or partially. | |
vendor | Filter results to products from this vendor. |
get_products_count Get Products Count
Retrieves the total count of products in the store, with optional filtering by vendor, product type, collection, or published status.
| Parameter | Type | Description |
|---|---|---|
collection_id | Filter the count to include only products belonging to a specific collection. | |
product_type | Filter the count to include only products of a specific product type. | |
published_status | Filter the count by product publication status: 'published' for published products only, 'unpublished' for unpublished products only, or 'any' to include all products regardless of status (default: an… | |
vendor | Filter the count to include only products from a specific vendor. |
get_product Get Product
Retrieves a single product by its ID from the Shopify store. Use this to fetch detailed product information including variants, images, and metadata.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The unique identifier of the product to retrieve. |
fields | A comma-separated list of specific fields to include in the response. Omit to return all available product fields. |
update_product Update Product
Updates a product's details, variants, images, and SEO metadata. Use metafields_global_title_tag and metafields_global_description_tag to manage SEO title and description tags.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The unique identifier of the product to update. |
delete_product Delete Product
Permanently deletes a product from the store. This action cannot be undone and will remove the product and all associated data.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The unique identifier of the product to delete. This is a required string value that identifies which product should be removed. |
list_product_images List Product Images
Retrieve all images associated with a specific product. Images are returned in the order they appear in the product's image gallery.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The unique identifier of the product whose images you want to retrieve. |
fields | Comma-separated list of specific fields to include in the response. Omit to return all available fields for each image. | |
since_id | Filter results to return only images created after the specified image ID. Useful for pagination when combined with limit parameters. |
create_product_image Create Product Image
Upload and attach a new image to a product. The image will be associated with the specified product and can be used for product display across storefronts.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The unique identifier of the product to which the image will be attached. This product must exist in the store. |
count_product_images Count Product Images
Retrieve the total count of images associated with a specific product. Optionally filter to count only images added after a specified image ID.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The unique identifier of the product for which to count images. |
since_id | Optional filter to count only images with an ID greater than this value, useful for pagination or incremental updates. |
get_product_image Get Product Image
Retrieve a single product image by its ID. Returns detailed metadata for the specified image associated with a product.
| Parameter | Type | Description |
|---|---|---|
image_id * | string | The unique identifier of the image to retrieve. |
product_id * | string | The unique identifier of the product that contains the image. |
fields | Comma-separated list of specific fields to include in the response. If omitted, all fields are returned. |
update_product_image Update Product Image
Update metadata and properties of an existing product image, such as alt text, position, or other image attributes.
| Parameter | Type | Description |
|---|---|---|
image_id * | string | The unique identifier of the image within the product to be updated. |
product_id * | string | The unique identifier of the product that contains the image to be updated. |
delete_product_image Delete Product Image
Delete a specific image from a product. This removes the image association and makes it unavailable for the product.
| Parameter | Type | Description |
|---|---|---|
image_id * | string | The unique identifier of the image to delete from the product. |
product_id * | string | The unique identifier of the product containing the image to delete. |
list_recurring_application_charges List Recurring Application Charges
Retrieves a list of all recurring application charges for the store. Use this to view subscription-based charges associated with your app.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of specific fields to include in the response. Omit to receive all available fields for each charge. | |
since_id | Filter results to return only charges created after the specified charge ID, useful for pagination or retrieving newly created charges. |
get_recurring_application_charge Get Recurring Application Charge
Retrieves the details of a single recurring application charge by its ID. Use this to fetch current status, pricing, and other metadata for a specific recurring charge.
| Parameter | Type | Description |
|---|---|---|
recurring_application_charge_id * | string | The unique identifier of the recurring application charge to retrieve. |
fields | A comma-separated list of specific fields to include in the response. Omit to return all available fields. |
delete_recurring_application_charge Delete Recurring Application Charge
Cancels an active recurring application charge for the store. This operation permanently removes the charge and stops any future billing cycles associated with it.
| Parameter | Type | Description |
|---|---|---|
recurring_application_charge_id * | string | The unique identifier of the recurring application charge to cancel. This ID is returned when the charge is created. |
update_recurring_application_charge_capped_amount Update Recurring Application Charge Capped Amount
Updates the capped amount of an active recurring application charge. This allows you to modify the maximum billing cap for an existing charge without canceling and recreating it.
| Parameter | Type | Description |
|---|---|---|
recurring_application_charge_id * | string | The unique identifier of the recurring application charge to update. This must be an active charge. |
recurring_application_chargecapped_amount | integer | The new maximum billing cap amount for the recurring charge, specified as a monetary value in the store's currency. |
list_usage_charges_for_recurring_application_charge List Usage Charges for Recurring Application Charge
Retrieves all usage charges associated with a specific recurring application charge. Usage charges represent variable fees billed on top of a recurring application charge.
| Parameter | Type | Description |
|---|---|---|
recurring_application_charge_id * | string | The unique identifier of the recurring application charge for which to retrieve usage charges. |
fields | A comma-separated list of specific fields to include in the response. Omit to return all available fields. |
create_usage_charge_for_recurring_application_charge Create Usage Charge for Recurring Application Charge
Creates a usage charge against an existing recurring application charge. Usage charges allow you to bill merchants for variable consumption on top of their recurring subscription.
| Parameter | Type | Description |
|---|---|---|
recurring_application_charge_id * | string | The unique identifier of the recurring application charge to which this usage charge will be applied. |
get_usage_charge Get Usage Charge
Retrieves a single usage charge associated with a recurring application charge. Use this to fetch details about a specific metered billing charge.
| Parameter | Type | Description |
|---|---|---|
recurring_application_charge_id * | string | The unique identifier of the recurring application charge that contains the usage charge. |
usage_charge_id * | string | The unique identifier of the usage charge to retrieve. |
fields | A comma-separated list of specific fields to include in the response. Omit to return all available fields. |
list_redirects List Redirects
Retrieves a list of URL redirects configured in the store. Results are paginated using cursor-based links provided in response headers.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of field names to include in the response. Omit to return all fields. | |
limit | Maximum number of redirects to return per request. Defaults to 50 and cannot exceed 250. | |
path | Filter results to show only redirects matching the specified source path. | |
since_id | Filter results to return only redirects with IDs greater than this value, useful for cursor-based pagination. | |
target | Filter results to show only redirects pointing to the specified target URL. |
get_redirects_count Get Redirects Count
Retrieves the total count of URL redirects in the store, with optional filtering by path or target URL.
| Parameter | Type | Description |
|---|---|---|
path | Filter the count to only include redirects with this specific path value. | |
target | Filter the count to only include redirects with this specific target URL. |
get_redirect Get Redirect
Retrieves a single redirect by its ID. Use this to fetch detailed information about a specific URL redirect configured in the online store.
| Parameter | Type | Description |
|---|---|---|
redirect_id * | string | The unique identifier of the redirect to retrieve. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields are returned, allowing you to optimize response payload size. |
update_redirect Update Redirect
Updates an existing redirect configuration in the online store. Modify redirect rules by specifying the redirect ID and providing updated redirect details.
| Parameter | Type | Description |
|---|---|---|
redirect_id * | string | The unique identifier of the redirect to update. This ID is required to locate and modify the specific redirect rule. |
delete_redirect Delete Redirect
Permanently deletes a redirect from the online store. Once deleted, the redirect cannot be recovered.
| Parameter | Type | Description |
|---|---|---|
redirect_id * | string | The unique identifier of the redirect to delete. |
list_script_tags List Script Tags
Retrieves a paginated list of all script tags in the store. Results are paginated using cursor-based links provided in the response header.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of specific fields to include in the response. Omit to return all available fields. | |
limit | Maximum number of results to return per request. Defaults to 50 if not specified; maximum allowed is 250. | |
since_id | Filters results to return only script tags created after the specified tag ID, useful for incremental syncing. |
get_script_tags_count Get Script Tags Count
Retrieves the total count of all script tags in the online store. Useful for understanding the scope of script tag usage without fetching individual records.
get_script_tag Get Script Tag
Retrieves a single script tag by its ID from the online store. Use this to fetch detailed information about a specific script tag resource.
| Parameter | Type | Description |
|---|---|---|
script_tag_id * | string | The unique identifier of the script tag to retrieve. |
fields | A comma-separated list of specific fields to include in the response. Omit to return all available fields. |
update_script_tag Update Script Tag
Updates an existing script tag in the online store. Modify script tag properties such as source URL, event triggers, or display scope.
| Parameter | Type | Description |
|---|---|---|
script_tag_id * | string | The unique identifier of the script tag to update. This ID is returned when the script tag is created and is required to target the correct script tag for modification. |
delete_script_tag Delete Script Tag
Permanently deletes a script tag from the store. This removes the associated script injection from the online store.
| Parameter | Type | Description |
|---|---|---|
script_tag_id * | string | The unique identifier of the script tag to delete. |
list_shipping_zones List Shipping Zones
Retrieve all shipping zones configured for the store. Shipping zones define geographic areas and their associated shipping rates and methods.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of specific fields to include in the response. If omitted, all fields are returned. |
get_shop Get Shop
Retrieves the shop's configuration and store properties. Use this to access fundamental shop information such as name, currency, timezone, and other store-level settings.
| Parameter | Type | Description |
|---|---|---|
fields | A comma-separated list of specific fields to include in the response. When omitted, all available fields are returned. Use this to optimize response payload by requesting only the fields your applicat… |
get_shopify_payments_balance Get Shopify Payments Balance
Retrieves the current account balance for Shopify Payments, including available funds and pending amounts.
list_shopify_payments_payouts List Shopify Payments Payouts
Retrieves a list of all payouts ordered by most recent first. Results are paginated using link headers in the response; use the provided links to navigate pages rather than query parameters.
| Parameter | Type | Description |
|---|---|---|
date_max | Filter results to payouts made on or before the specified date (inclusive). Use ISO 8601 format. | |
date_min | Filter results to payouts made on or after the specified date (inclusive). Use ISO 8601 format. | |
since_id | Filter results to payouts made after the specified payout ID, useful for fetching payouts created since a known reference point. | |
status | Filter results to payouts with a specific status (e.g., pending, paid, failed, cancelled). |
get_payout Get Payout
Retrieves the details of a single Shopify Payments payout by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
payout_id * | string | The unique identifier of the payout to retrieve. |
list_smart_collections List Smart Collections
Retrieves a paginated list of smart collections from your store. Results are paginated using link headers in the response; use the provided links to navigate between pages.
| Parameter | Type | Description |
|---|---|---|
fields | Limit the response to only specified fields. Provide as a comma-separated list of field names to reduce payload size. | |
handle | Filter results by the smart collection's URL-friendly handle. | |
ids | Filter results to only smart collections with the specified IDs. Provide as a comma-separated list of numeric IDs. | |
limit | Maximum number of smart collections to return per request. Defaults to 50 if not specified; maximum allowed is 250. | |
product_id | Filter results to only smart collections that contain the specified product ID. | |
published_status | Filter results by publication status. Use 'published' for published collections only, 'unpublished' for unpublished only, or 'any' to include all collections regardless of status. Defaults to 'any'. | |
since_id | Return only smart collections with an ID greater than this value. Useful for pagination when not using link headers. | |
title | Filter results to smart collections matching the exact title. |
count_smart_collections Count Smart Collections
Retrieves the total count of smart collections, optionally filtered by title, product inclusion, or published status.
| Parameter | Type | Description |
|---|---|---|
product_id | Filter to smart collections that contain the specified product ID. | |
published_status | Filter results by publication status: 'published' for live collections, 'unpublished' for draft collections, or 'any' to include all collections regardless of status. Defaults to 'any'. | |
title | Filter to smart collections with an exact matching title. |
get_smart_collection Get Smart Collection
Retrieves a single smart collection by ID. Use this to fetch detailed information about a specific smart collection, including its rules, products, and metadata.
| Parameter | Type | Description |
|---|---|---|
smart_collection_id * | string | The unique identifier of the smart collection to retrieve. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields are returned, reducing payload size. |
update_smart_collection Update Smart Collection
Updates an existing smart collection by ID. Modify collection properties such as title, rules, sorting, and visibility settings.
| Parameter | Type | Description |
|---|---|---|
smart_collection_id * | string | The unique identifier of the smart collection to update. |
delete_smart_collection Delete Smart Collection
Permanently removes a smart collection from the store. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
smart_collection_id * | string | The unique identifier of the smart collection to delete. |
update_smart_collection_order Update Smart Collection Order
Updates the sorting configuration for products in a smart collection, allowing you to manually order specific products at the top or apply an automatic sort order.
| Parameter | Type | Description |
|---|---|---|
smart_collection_id * | string | The unique identifier of the smart collection to update. |
products | An ordered array of product IDs to pin at the top of the collection. Pass an empty array to clear any previously pinned products and return to automatic sorting. | |
sort_order | The automatic sorting method to apply to the collection (e.g., alphabetical, price, newest). If not specified, the current sort order is preserved. |
list_tender_transactions List Tender Transactions
Retrieves a paginated list of tender transactions. Results are paginated using link headers in the response; use the provided links to navigate through pages rather than manual offset calculations.
| Parameter | Type | Description |
|---|---|---|
limit | Maximum number of results to return per request, between 1 and 250. Defaults to 50 if not specified. | |
order | Sort results by processed_at timestamp in either ascending or descending order. | |
processed_at_max | Filter to show only transactions processed on or before this date (ISO 8601 format). | |
processed_at_min | Filter to show only transactions processed on or after this date (ISO 8601 format). | |
since_id | Retrieve only transactions with an ID greater than this value, useful for resuming pagination or fetching incremental updates. |
list_themes List Themes
Retrieves a list of all themes available in the Shopify store. Use this to discover theme IDs and metadata for further operations.
| Parameter | Type | Description |
|---|---|---|
fields | Comma-separated list of specific theme fields to return in the response. Omit to retrieve all available fields for each theme. |
get_theme Get Theme
Retrieves a single theme by its ID from the Shopify online store.
| Parameter | Type | Description |
|---|---|---|
theme_id * | string | The unique identifier of the theme to retrieve. |
fields | Comma-separated list of field names to include in the response. When specified, only the listed fields are returned, reducing payload size. |
delete_theme Delete Theme
Permanently deletes a theme from the store. The theme must not be the currently active theme.
| Parameter | Type | Description |
|---|---|---|
theme_id * | string | The unique identifier of the theme to delete, returned as a string by the Shopify API. |
get_theme_asset Get Theme Asset
Retrieves a single asset file from a theme by its key. Use the asset[key] parameter to specify which asset to retrieve, such as templates/index.liquid or other theme files.
| Parameter | Type | Description |
|---|---|---|
theme_id * | string | The unique identifier of the theme containing the asset. |
assetkey | string | The key path of the asset to retrieve, such as templates/index.liquid or config/settings_data.json. This parameter is required to fetch a specific asset. |
fields | Comma-separated list of specific fields to include in the response. If omitted, all asset fields are returned. |
delete_theme_asset Delete Theme Asset
Removes a specific asset file from a theme. The asset is identified by its key within the theme.
| Parameter | Type | Description |
|---|---|---|
theme_id * | string | The unique identifier of the theme from which the asset will be deleted. |
assetkey | string | The key (file path) of the asset to delete from the theme. This identifies which specific asset file to remove. |
list_webhooks List Webhooks
Retrieves a list of webhook subscriptions configured for your store. Results are paginated using link headers in the response.
| Parameter | Type | Description |
|---|---|---|
address | Filter webhooks by the URI endpoint where they send POST requests. | |
fields | Comma-separated list of specific properties to return for each webhook. Omit to receive all properties. | |
limit | Maximum number of webhooks to return per request. Defaults to 50; maximum allowed is 250. | |
since_id | Return only webhooks with an ID greater than this value. Use for pagination when combined with limit. | |
topic | Filter webhooks by topic (e.g., orders/create, products/update). Refer to webhook topic documentation for valid values. |
get_webhooks_count Get Webhooks Count
Retrieves the total count of webhook subscriptions configured for your Shopify store, with optional filtering by destination address or event topic.
| Parameter | Type | Description |
|---|---|---|
address | Filter the count to only include webhook subscriptions that send POST requests to this specific URI. | |
topic | Filter the count to only include webhook subscriptions for a specific event topic (e.g., orders/create, products/update). Refer to Shopify's webhook topic documentation for valid values. |
get_webhook Get Webhook
Retrieves the details of a single webhook subscription by its ID, including its configuration and event subscriptions.
| Parameter | Type | Description |
|---|---|---|
webhook_id * | string | The unique identifier of the webhook subscription to retrieve. |
fields | Comma-separated list of specific webhook properties to return in the response. When omitted, all properties are returned. |
delete_webhook Delete Webhook
Permanently delete a webhook subscription by its ID. Once deleted, the webhook will no longer receive event notifications.
| Parameter | Type | Description |
|---|---|---|
webhook_id * | string | The unique identifier of the webhook subscription to delete. |