अभी शुरू करें
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
एकीकृत भुगतान
अभी समर्थित नहीं

इनपुट

  • titlestring
    The title of the price rule, used in admin search and displayed on Discounts page.
  • valuestring
    The value of the price rule, must be negative (e.g., '-10.0' for $10 off or 10% off).
  • ends_atstring
    The date and time when the price rule ends (ISO 8601 format). Can be null for open-ended rules.
  • starts_atstring
    The date and time when the price rule starts (ISO 8601 format).
  • value_typestring
    The value type of the price rule. Valid values: 'fixed_amount', 'percentage', 'shipping'.
  • target_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).
  • usage_limitinteger
    The maximum number of times the price rule can be used in total. Null for unlimited.
  • price_rule_idstring
    आवश्यक
    The ID of the price rule to update.
  • allocation_limitinteger
    The maximum number of times the price rule can be allocated onto an order (for Buy X Get Y discounts).
  • target_selectionstring
    Target selection method. Valid values: 'all' (applies to all line items), 'entitled' (applies to selected entitlements only).
  • allocation_methodstring
    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'.
  • once_per_customerboolean
    Whether the price rule can be applied only once per customer.

देखा जा सकने वाला आउटपुट

  • data
    आवश्यक
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    आवश्यक
    Whether or not the action execution was successful or not

इस Action का उपयोग करने वाली Skills

संबंधित उपयोग के मामले

अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।

आधिकारिक स्रोत

प्रदाता स्रोत