App reviews, troubleshooting, and recommendations
How can we create automatic discounts for specific products using the API? In Shopify, I found an option for automatic discounts applied to all items, but I'm looking to apply it to specific products.
I found just for all item link: Shopify API Documentation on Automatic Discount Creation.
Hello @Anil918
Hope you are doing well
You are using correct API. Please checkout this screenshot.
You have to pass the data like this.
items: {
products: {
productsToAdd: [product_ids]
}
}
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025