Event GroupEvent Identification
companycompany/action
Update message for the variant pricing rules in the catalog.
Request Headers
  • X-Shopline-Topic string required
    The unique identifier for the event.
    Example: orders/edited
  • X-Shopline-Hmac-Sha256 string required
    The signature of the request. Upon receiving the request, you must verify the signature to confirm the authenticity and integrity of the data.
    Example: XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
  • X-Shopline-Shop-Domain string required
    The store domain.
    Example: example.myshopline.com
  • X-Shopline-Shop-Id string required
    The store ID.
    Example: 1610418123456
  • X-Shopline-Merchant-Id string required
    The merchant ID.
    Example: 2000001234
  • X-Shopline-API-Version string required
    The API version.
    Example: v20250601
  • X-Shopline-Webhook-Id string required
    The ID of this Webhook event.
    Example: b54557e48a5fbf7d70bcd043
Request Body
  • catalog_variant_price_ruleobject
    Variant pricing rules in the catalog.
  • catalog_id string
    The ID of company location catalog.
    Example: 6505476185111667646
  • percent integer
    The adjustment value based on percent_type, formatted as a percentage.
    • When decreasing the price, the value is limited to 0-100.
    • When increasing the price, the value is limited to 0-10,000.
    Example: 10
  • percent_type integer
    The type of percentage adjustment, with a value of 1 for decreasing the price and a value of 2 for increasing the price.
    Example: 1
  • price string
    Fixed price, valid only when price_adjustment_method=2.
    Example: 100
  • price_adjustment_method integer
    The method of price adjustment, with a value of 1 for percentage and a value of 2 for fixed price (default).
    Example: 1
  • product_id string
    The ID of the product in the catalog.
    Example: 16064679140646857045521690
  • quantity_price_breaksobject[]
    Gradient pricing list.
  • minimum_qty integer
    Gradient-based minimum purchase quantity.
    Example: 2
  • percent integer
    The adjustment value based on percent_type, formatted as a percentage.
    • When decreasing the price, the value is limited to 0-100.
    • When increasing the price, the value is limited to 0-10,000.
    Example: 10
  • percent_type integer
    The type of percentage adjustment, with a value of 1 for decreasing the price and a value of 2 for increasing the price.
    Example: 1
  • price string
    Fixed price, valid only when price_adjustment_method=2.
    Example: 100
  • quantity_rulesobject
    Rules for purchase quantity
  • increment integer
    Purchase quantity increment where each increase must be a multiple of the increment.
    Example: 2
  • maximum integer
    Maximum purchase quantity.
    Example: 100
  • minimum integer
    Minimum purchase quantity.
    Example: 2
  • variant_id string
    The ID of the variant in the catalog.
    Example: 18064419722745311498141690
Status Codes
After receiving a webhook notification from SHOPLINE, you must respond with the following format:
HTTP/1.1 200 OK
For more information about how to subscribe to webhooks and webhook response rules, refer to Webhook overview.
Was this article helpful to you?