question

lazc_41 avatar image
0 Likes"
lazc_41 asked ·

AmountSaved or SellerDiscounts fields returns zero or null

Hello, I am trying to calculate discount applied to an order to keep sale stats of my products. Trading API exposed some fields but they are null or empty. It only shows the total price after discounts. OrderArray.Order.AmountSaved = 0 OrderArray.Order.TransactionArray.Transaction.SellerDiscounts = null I assume this fields should show discounts applied to this order transaction. Thanks,
trading apigetorders-ebay-apipricediscount
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

lazc_41 avatar image
0 Likes"
lazc_41 answered ·
Hello @anisha_developersupport Documentation says it should return this promotion or discounts. OrderArray.Order.TransactionArray.Transaction.SellerDiscounts > A container consisting of name and ID > of the seller's discount campaign, as > well as the discount amount that is > being applied to the order line item. > This container is only returned if the > order line item is eligible for seller > discounts. OrderArray.Order.AmountSaved >This value indicates > the amount that the buyer saved on the > order due to any discounts (item, > shipping, promotional) applied to the > purchase, or if the seller 'manually' > reduced the order total. This field is > always returned even when it is '0.0'. Problem is its not returning any promotional data in this fields. Images provided. Thanks, ![alt text][1]![alt text][2] Thanks, [1]: /storage/temp/2541-image1.png [2]: /storage/temp/2542-image2.png

image1.png (1.6 KiB)
image2.png (967 B)
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

anisha_developersupport avatar image
0 Likes"
anisha_developersupport answered ·
Hi @lazc_41, To get AmountSaved Or SellerDiscounts Fields, go through the doc: [GetOrderTransactions][1] Best Regards, eBay Developer Support [1]: https://developer.ebay.com/devzone/xml/docs/reference/ebay/GetOrderTransactions.html
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.