As of January 2022, certain cities/regions in Canada require restaurants to charge a bag fee on delivery orders in which a disposable plastic bag is used. Such legislation is typically found on your local government’s website, with an example of Vancouver’s bag fees [here](https://vancouver.ca/green-vancouver/bags.aspx#:~:text=Minimum fee of %240.15 must,content (example%3A “Recyclable.). SkipTheDishes now offers a solution for bag fees which can be built into your integration.
Bag fees will be enabled for applicable locations upon testing and confirmation from the integration partner that the payload changes are supported and the fees can be reconciled by the vendor.
The bag fee and associated taxes in order payloads are in Payment.adjustment[]
:
BagFee
: The gross price of the bag itself (please see your local legislation for guidelines on bag pricing)BagFeeGst
: The GST tax applied on the bag feeBagFeePst
: The PST tax applied on the bag feeFor example, if a store in Vancouver has set a $0.25 bag fee, the above values should be
BagFee
: 0.25BagFeeGst
: 0.01 (0.012 rounded down)BagFeePst
: 0.02 (0.017 rounded up){
"method": "post",
"url": "<https://www.orderexample.com/api/1/webhooks/flyt/orders>",
"data": {
"type": "delivery-by-delivery-partner",
"posLocationId": "79845",
"id": "2fb9e97d-15fc-41a3-b8f9-0cb1b0ee7978",
"location": {
"id": 0,
"timezone": "America/Vancouver"
},
"driver": {
"first_name": "",
"last_name": "",
"phone_number": ""
},
"items": [
{
"name": "Milkshakes",
"description": "",
"plu": "p_5281094",
"children": [
{
"name": "Oreo",
"description": "",
"plu": "m_3932348",
"children": [],
"price": 0,
"notes": ""
}
],
"price": 804,
"notes": "Can the Oreo bits be extremely ground up?"
}
],
"created_at": "1679508177",
"channel": {
"id": 52,
"name": "Skip"
},
"collect_at": "1679508829",
"collection_notes": "[CONTACTLESS] Leave by door",
"kitchen_notes": "*See Tablet for special instructions*",
"third_party_order_reference": "515230366",
"total": 829,
"payment_method": "CARD",
"tender_type": "STD",
"menu_reference": "",
"payment": {
"items_in_cart": {
"inc_tax": 844,
"tax": 40
},
"adjustments": [
{
"name": "bagFee",
"price": {
"inc_tax": 25,
"tax": 0
}
},
{
"name": "bagFeeGst",
"price": {
"inc_tax": 1,
"tax": 1
}
},
{
"name": "bagFeePst",
"price": {
"inc_tax": 2,
"tax": 2
}
}
],
"final": {
"inc_tax": 872,
"tax": 43
}
},
"delivery": {
"first_name": "Brandon",
"last_name": "",
"phone_number": "******",
"line_one": "******",
"line_two": "",
"city": "******",
"postcode": "******",
"email": "[email protected]",
"coordinates": {
"longitude": -123.45672120019531,
"latitude": 12.345670419921875,
"longitude_as_string": "-123.4567",
"latitude_as_string": "12.34567"
},
"phone_masking_code": ""
},
"extras": {},
"promotions": []
},
"headers": {
"common": {
"Accept": "application/json, text/plain, */*"
},
"delete": {},
"get": {},
"head": {},
"post": {
"Content-Type": "application/x-www-form-urlencoded"
},
"put": {
"Content-Type": "application/x-www-form-urlencoded"
},
"patch": {
"Content-Type": "application/x-www-form-urlencoded"
},
"Authorization": "*****1VSeg"
}
}