Shopify Tools
Shopify Update Price Rule
Aident Loadout के माध्यम से Shopify Tools के साथ Shopify Update Price Rule का उपयोग करें। चलाने से पहले इनपुट, आउटपुट, सेटअप, मूल्य और जोखिम देखें।
राइट Actionजोखिम स्तर 2/5OAuth कनेक्शन
प्रदाता विवरण
Update an existing price rule (discount) in Shopify. Use when you need to modify price rule properties like title, value, dates, or prerequisites. Only fields provided in the request will be updated; omitted fields remain unchanged.
मूल्य और सीमाएँ
- मूल्य
- मुफ़्त Action
- एकीकृत भुगतान
- अभी समर्थित नहीं
इनपुट
- The title of the price rule, used in admin search and displayed on Discounts page.titlestring
- The value of the price rule, must be negative (e.g., '-10.0' for $10 off or 10% off).valuestring
- The date and time when the price rule ends (ISO 8601 format). Can be null for open-ended rules.ends_atstring
- The date and time when the price rule starts (ISO 8601 format).starts_atstring
- The value type of the price rule. Valid values: 'fixed_amount', 'percentage', 'shipping'.value_typestring
- The target type the price rule applies to. Valid values: 'line_item' (applies to cart's line items), 'shipping_line' (applies to cart's shipping lines).target_typestring
- The maximum number of times the price rule can be used in total. Null for unlimited.usage_limitinteger
- The ID of the price rule to update.price_rule_idstringआवश्यक
- The maximum number of times the price rule can be allocated onto an order (for Buy X Get Y discounts).allocation_limitinteger
- Target selection method. Valid values: 'all' (applies to all line items), 'entitled' (applies to selected entitlements only).target_selectionstring
- How the discount is applied. Valid values: 'each' (applied to each entitled item), 'across' (applied across entitled items). Must be 'each' when target_type is 'shipping_line'.allocation_methodstring
- Whether the price rule can be applied only once per customer.once_per_customerboolean
देखा जा सकने वाला आउटपुट
- Data from the action executiondataआवश्यक
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanआवश्यक
इस Action का उपयोग करने वाली Skills
संबंधित उपयोग के मामले
अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।