The Way Discounts are Sent

What support does Deliverect have for discounts?

Our channel partners may offer multiple types of discounts or special offers on items. However, when orders are sent to Deliverect, only an overall order discount is supported.

How will this show in orders?

When we send an order to the POS, the total discount will show as a negative value. This is then taken off from the total order's value. The POS should clearly show the discounted total.

For this particular order, it is displayed as "discountTotal": -100, in the Deliverect order tab. -100 because the discount value is -€1.

Additional Discount Information

If the channels provide us with additional information on the discounts then you will get an extra "discounts" object in the payload.

 "discounts": [
    {
      "type": "order_flat_off",
      "provider": "channel",
      "name": "Test discount",
      "channelDiscountCode": "test 1234",
      "referenceId": "testId",
      "value": -400,
      "amount": -400
    }
  ]

Inside you will find information such as the discount type, name, and amount. You can find the meaning of each parameter in the order definitions.