Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When placing an order, the order_created event will send JSON data using the PUT method in the body of the query to the links that were registered as data recipients.

...

  • stat_created - date and time of order placement (e.g. 2014-11-21 17:38:51)

  • currency - currency in which the user made the order, in ISO format (for example: UAH - hryvnia, USD - dollar, EUR - euro, etc.)
  • order_without_callback (true/false) - do not call back after order placement (yes/no) (added in version 3.32)
  • products[i] - products in an order

    • title - product name

    • article - product SKU

    • price - product unit cost for the user

    • quantity - number of units ordered

    • total_price - total cost of product unit considering the ordered quantity
    • discount_marker - marker for used discount on product
      • PRICE_OLD - old price/relative discount for the product
      • PAGE_DISCOUNT - category discount
      • DISCOUNT_CARD - cumulative discount
      • DISCOUNT_NONE - without discount (under conditions of promotions, etc.)
      • NONE - without discount
    • url - link to the product on the website
    • photo_url - link to the product photo

...