Back to connectors… Back to Other...

Shopify Line Item discount value is zero, need another field to use (1 reply)

Jay C
4 years ago
Jay C 4 years ago

I've gone over my Shopify connector, and read the posts on this forum.  The field we've been told to use is the total_discount.  However, this field is zero in my Shopify JSON.  The actual discount is in the discount_allocations section.  If I can't get the discount value into Sage, I just may have to use the pre_tax_price instead.

 

"line_items": [
{
"id": 4948699283535,
"variant_id": 29917645078607,
"title": "Lounge Doctor Leg Rest",
"quantity": 1,
"sku": "FOAM-XWIDE-L-LD HEATHER GREY",
"variant_title": "Large / 24\" / LD Heather Grey",
"vendor": "Lounge Doctor",
"fulfillment_service": "manual",
"product_id": 1764506861641,
"requires_shipping": true,
"taxable": true,
"gift_card": false,
"tax_code": "PH403034",
"name": "Lounge Doctor Leg Rest - Large / 24\" / LD Heather Grey",
"variant_inventory_management": null,
"properties": [

],
"product_exists": true,
"fulfillable_quantity": 0,
"grams": 19051,
"price": "109.95",
"total_discount": "0.00",
"fulfillment_status": "fulfilled",
"pre_tax_price": "87.96",
"price_set": {
"shop_money": {
"amount": "109.95",
"currency_code": "USD"
},
"presentment_money": {
"amount": "109.95",
"currency_code": "USD"
}
},
"pre_tax_price_set": {
"shop_money": {
"amount": "87.96",
"currency_code": "USD"
},
"presentment_money": {
"amount": "87.96",
"currency_code": "USD"
}
},
"total_discount_set": {
"shop_money": {
"amount": "0.00",
"currency_code": "USD"
},
"presentment_money": {
"amount": "0.00",
"currency_code": "USD"
}
},
"discount_allocations": [
{
"amount": "21.99",
"discount_application_index": 0,
"amount_set": {
"shop_money": {
"amount": "21.99",
"currency_code": "USD"
},
"presentment_money": {
"amount": "21.99",
"currency_code": "USD"
}
}
}
],

 

 

Support
4 years ago
Support 4 years ago

Jay, this is addressed in a later connector.

We have opened a support ticket.

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close