---
title: "Shopify (OAuth)"
canonical: "https://layest.com/en/integrations/shopify"
language: "en"
description: "Shopify is a commerce platform for online and in-person sales. Merchants can manage products, inventory, and orders and set up payments and shipping."
---

# Shopify (OAuth)

Shopify is a commerce platform for online and in-person sales. Merchants can manage products, inventory, and orders and set up payments and shipping.

## Authentication

**OAuth 2.0**: Authorize Layest on the provider’s sign-in page. The provider issues access tokens for the permissions you grant.

## Categories

- E-commerce

## Actions from Shopify (OAuth)

These supported actions can be set up out of the box and used by our agents.

- **Accept fulfillment request**: Accept a fulfillment request for a Shopify fulfillment order.
- **Activate automatic discount**: Activate an automatic Shopify discount.
- **Activate discount code**: Activate a code-based Shopify discount
- **Activate inventory item at location**: Activate tracking for a Shopify inventory item at a location.
- **Adjust inventory quantities**: Adjust inventory quantities for tracked items.
- **Approve return**: Approve a return request on a Shopify order.
- **Cancel fulfillment**: Cancel a Shopify fulfillment
- **Cancel fulfillment request**: Cancel a pending fulfillment request on a Shopify fulfillment order.
- **Cancel order**: Cancel a Shopify order.
- **Cancel return**: Cancel a return on a Shopify order.
- **Close order**: Close a Shopify order to prevent further changes.
- **Close return**: Close a return on a Shopify order.
- **Complete draft order**: Complete a Shopify draft order and convert it into an order.
- **Create automatic discount**: Create an automatic basic Shopify discount.
- **Create automatic discount bxgy**: Create an automatic buy X get Y Shopify discount.
- **Create automatic discount free shipping**: Create an automatic free shipping Shopify discount.
- **Create collection**: Create a Shopify collection.
- **Create company**: Create a B2B company in Shopify.
- **Create customer**: Create a Shopify customer record.
- **Create discount code basic**: Create a basic code discount in Shopify.
- **Create discount code bxgy**: Create a buy X get Y code discount in Shopify.
- **Create discount code free shipping**: Create a free shipping code discount in Shopify.
- **Create file**: Create a file resource in Shopify after staging an upload
- **Create gift card**: Create a Shopify gift card.
- **Create market**: Create a Shopify market for international selling.
- **Create metafield definition**: Create a Shopify metafield definition for a resource type.
- **Create metaobject**: Create a Shopify metaobject entry.
- **Create metaobject definition**: Create a Shopify metaobject definition.
- **Create product**: Create a Shopify product.
- **Create product media**: Attach media to an existing Shopify product
- **Create product options**: Create one or more options on a Shopify product.
- **Create product variants**: Create one or more variants for a Shopify product.
- **Create refund**: Create a refund for a Shopify order
- **Create return**: Create a return for a Shopify order.
- **Create staged upload**: Request staged upload targets before uploading files to Shopify.
- **Create url redirect**: Create a URL redirect in a Shopify store.
- **Create webhook subscription**: Create a webhook subscription in Shopify.
- **Deactivate automatic discount**: Deactivate an automatic Shopify discount.
- **Deactivate discount code**: Deactivate a code-based Shopify discount.
- **Deactivate inventory item at location**: Deactivate tracking for a Shopify inventory item at a location.
- **Decline return**: Decline a return request on a Shopify order.
- **Delete automatic discount**: Delete an automatic Shopify discount.
- **Delete collection**: Delete a Shopify collection by GraphQL ID.
- **Delete customer**: Delete a Shopify customer record.
- **Delete discount code**: Delete a code-based Shopify discount.
- **Delete draft order**: Delete a Shopify draft order.
- **Delete files**: Delete one or more Shopify file resources.
- **Delete market**: Delete a Shopify market.
- **Delete metafield definition**: Delete a Shopify metafield definition.
- **Delete metafields**: Delete Shopify metafields in one call.
- **Delete metaobject**: Delete a Shopify metaobject entry.
- **Delete metaobject definition**: Delete a Shopify metaobject definition.
- **Delete product**: Delete a Shopify product by GraphQL ID.
- **Delete product media**: Delete media from a Shopify product.
- **Delete product options**: Delete one or more options from a Shopify product.
- **Delete product variants**: Delete one or more variants from a Shopify product.
- **Delete url redirect**: Delete a URL redirect from a Shopify store.
- **Delete webhook subscription**: Delete a Shopify webhook subscription.
- **Disable gift card**: Disable a Shopify gift card.
- **Generate customer activation url**: Generate an account activation URL for a Shopify customer.
- **Get collection**: Retrieve a Shopify collection by GraphQL ID.
- **Get company**: Retrieve a Shopify B2B company by GraphQL ID.
- **Get customer segment**: Retrieve a Shopify customer segment by GraphQL ID.
- **Get discount**: Retrieve a Shopify discount node by GraphQL ID.
- **Get file**: Retrieve a Shopify file resource by GraphQL ID.
- **Get inventory item**: Retrieve a Shopify inventory item by GraphQL ID.
- **Get location**: Retrieve a Shopify location by GraphQL ID.
- **Get market**: Retrieve a Shopify market by GraphQL ID.
- **Get metaobject**: Retrieve a Shopify metaobject by GraphQL ID.
- **Get metaobject by handle**: Retrieve a Shopify metaobject by type and handle.
- **Get order**: Retrieve a Shopify order by GraphQL ID.
- **Get order by identifier**: Retrieve a Shopify order by the documented order identifier input.
- **Get product**: Retrieve a Shopify product by GraphQL ID.
- **Get product by identifier**: Retrieve a Shopify product by handle or another supported identifier.
- **Get return**: Retrieve a Shopify return by GraphQL ID.
- **Get shop**: Retrieve Shopify shop metadata for the connected store.
- **Hold fulfillment order**: Place a hold on a Shopify fulfillment order to pause fulfillment.
- **List abandoned checkouts**: List abandoned checkouts in a Shopify store.
- **List collections**: List Shopify collections with cursor pagination.
- **List companies**: List Shopify B2B companies with cursor pagination.
- **List customer segments**: List Shopify customer segments with cursor pagination.
- **List discounts**: List Shopify discount nodes with pagination.
- **List events**: List Shopify store events for the activity feed.
- **List files**: List Shopify file resources with cursor pagination.
- **List inventory levels**: List inventory levels for a location or inventory item.
- **List locations**: List Shopify locations for the connected store.
- **List markets**: List Shopify markets for the connected store.
- **List metafield definitions**: List Shopify metafield definitions for a resource type.
- **List metaobject definitions**: List Shopify metaobject definitions with pagination.
- **List metaobjects**: List Shopify metaobjects by type with pagination.
- **List products**: List Shopify products with cursor pagination and optional search query.
- **List publications**: List available Shopify sales channel publications.
- **List url redirects**: List URL redirects in a Shopify store.
- **List webhook subscriptions**: List webhook subscriptions registered for the Shopify app.
- **Mark order as paid**: Mark a Shopify order as fully paid.
- **Move fulfillment order**: Move a Shopify fulfillment order to a different location.
- **Move inventory quantities**: Move inventory quantities between Shopify locations.
- **Open order**: Reopen a closed Shopify order
- **Publish resource**: Publish a Shopify resource to one or more sales channels.
- **Reject fulfillment request**: Reject a fulfillment request on a Shopify fulfillment order.
- **Release fulfillment hold**: Release a hold on a Shopify fulfillment order.
- **Send customer account invite**: Send an account invite email to a Shopify customer.
- **Send draft order invoice**: Send the invoice email for a Shopify draft order.
- **Set customer email marketing consent**: Update email marketing consent for a Shopify customer.
- **Set inventory quantities**: Set absolute inventory quantities for tracked items.
- **Set metafields**: Create or update Shopify metafields in one call.
- **Tags add**: Add tags to a Shopify resource.
- **Tags remove**: Remove tags from a Shopify resource.
- **Unpublish resource**: Unpublish a Shopify resource from one or more sales channels.
- **Update automatic discount**: Update an automatic basic Shopify discount.
- **Update automatic discount bxgy**: Update an automatic buy X get Y Shopify discount.
- **Update automatic discount free shipping**: Update an automatic free shipping Shopify discount.
- **Update collection**: Update a Shopify collection.
- **Update company**: Update a Shopify B2B company.
- **Update discount code basic**: Update a basic code discount in Shopify.
- **Update discount code bxgy**: Update a buy X get Y code discount in Shopify.
- **Update discount code free shipping**: Update a free shipping code discount in Shopify.
- **Update file**: Update metadata for a Shopify file resource.
- **Update fulfillment tracking**: Update tracking details on a Shopify fulfillment.
- **Update gift card**: Update a Shopify gift card.
- **Update inventory item**: Update mutable fields on a Shopify inventory item.
- **Update market**: Update a Shopify market.
- **Update metafield definition**: Update a Shopify metafield definition.
- **Update metaobject**: Update a Shopify metaobject entry.
- **Update metaobject definition**: Update a Shopify metaobject definition.
- **Update order**: Update editable Shopify order fields.
- **Update product**: Update a Shopify product.
- **Update product media**: Update media details for a Shopify product
- **Update product options**: Update options on a Shopify product.
- **Update product variants**: Update one or more variants for a Shopify product.
- **Update url redirect**: Update a URL redirect in a Shopify store.
- **Update webhook subscription**: Update a Shopify webhook subscription.
- **Upsert metaobject**: Create or update a Shopify metaobject by type and handle.

## Triggers from Shopify (OAuth)

Once configured in Nango, these sync templates can provide changes as triggers.

- **Abandoned checkouts**: Sync Shopify abandoned checkouts for retargeting workflows.
- **Collections**: Sync Shopify collections with pagination and optional search filters.
- **Companies**: Sync Shopify B2B companies with contact and location data.
- **Discounts**: Sync Shopify discount nodes with status and summary fields.
- **Events**: Sync Shopify store events for audit and activity feed use cases.
- **Files**: Sync Shopify file resources including images and generic files.
- **Fulfillment orders**: Sync Shopify fulfillment orders for operational workflows.
- **Gift cards**: Sync Shopify gift cards with balance and customer data
- **Inventory items**: Sync Shopify inventory items with SKU, tracking, and cost data.
- **Inventory levels**: Sync Shopify inventory quantities across all locations.
- **Locations**: Sync Shopify fulfillment and inventory locations
- **Markets**: Sync Shopify markets and their regional configuration.
- **Metaobjects**: Sync Shopify metaobjects for one or more metaobject types.
- **Orders**: Fetches a list of orders from Shopify.
- **Products**: Sync Shopify products with variants, tags, status, and merchandising fields.
- **Returns**: Sync Shopify returns for post-purchase and reverse logistics workflows.
- **Url redirects**: Sync Shopify URL redirects for storefront migration and SEO workflows.
