{"_id":"5dd4ebda0987f2003257a0a1","project":"567f0c06143cc60d00c1fdbe","user":{"_id":"567f0baca74a1c0d003e1fba","username":"","name":"Chris Estreich"},"__v":2,"createdAt":"2019-11-20T07:31:38.448Z","changelog":[{"_id":"5dd4ec6362965700240ad93e","update":"http://merchant-api.tophatter.com/docs/order-retrieve","type":"improved"},{"_id":"5dd4ed08e4ddb3002e4270a6","update":"","type":"added"}],"body":"Sellers who offer Buy one get one (same price) or accessories in purchasing their products are familiar with term [upsells bogo](https://seller-hub.cn.tophatter.com/article/474-buy-one-get-one) and [upsells accessory](https://seller-hub.cn.tophatter.com/article/475-upsell-accessory). Today, we made a change in our backend and API so that sellers are able to differentiate this price fee.\n\n**Before** \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"order_id\\\": 96142808,\\n    \\\"status\\\": \\\"shipped\\\",\\n    \\\"carrier\\\": \\\"china-ems\\\",\\n    \\\"tracking_number\\\": \\\"LW813964844CN\\\",\\n    \\\"fulfillment_partner\\\": null,\\n    \\\"product_name\\\": \\\"SEASUM Women's High Waist Yoga Pants Tummy Control Slimming Booty Leggings Workout Running Butt Lift Tights\\\",\\n    \\\"product_identifier\\\": \\\"zxc1021210\\\",\\n    \\\"product_internal_id\\\": 22715962,\\n    \\\"variation_identifier\\\": \\\"zxc1021210-XL-black\\\",\\n    \\\"variation_internal_id\\\": 54566537,\\n    \\\"annotation\\\": null,\\n    \\\"customer_id\\\": 23927487,\\n    \\\"customer_name\\\": \\\"MIKE NELSON\\\",\\n    \\\"address1\\\": \\\"6701 N IDLEWOOD DR\\\",\\n    \\\"address2\\\": \\\"\\\",\\n    \\\"city\\\": \\\"COEUR D ALENE\\\",\\n    \\\"state\\\": \\\"ID\\\",\\n    \\\"postal_code\\\": \\\"83815-0048\\\",\\n    \\\"country\\\": \\\"USA\\\",\\n    \\\"available_refunds\\\": {\\n        \\\"buyer_fee\\\": 2.0,\\n        \\\"shipping_fee\\\": 4.0,\\n        \\\"lot_upsell_fee\\\": 6.0\\n    },\\n    ...\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n**After** \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"order_id\\\": 96142808,\\n    \\\"status\\\": \\\"shipped\\\",\\n    \\\"carrier\\\": \\\"china-ems\\\",\\n    \\\"tracking_number\\\": \\\"LW813964844CN\\\",\\n    \\\"fulfillment_partner\\\": null,\\n    \\\"product_name\\\": \\\"SEASUM Women's High Waist Yoga Pants Tummy Control Slimming Booty Leggings Workout Running Butt Lift Tights\\\",\\n    \\\"product_identifier\\\": \\\"zxc1021210\\\",\\n    \\\"product_internal_id\\\": 22715962,\\n    \\\"variation_identifier\\\": \\\"zxc1021210-XL-black\\\",\\n    \\\"variation_internal_id\\\": 54566537,\\n    \\\"annotation\\\": null,\\n    \\\"customer_id\\\": 23927487,\\n    \\\"customer_name\\\": \\\"MIKE NELSON\\\",\\n    \\\"address1\\\": \\\"6701 N IDLEWOOD DR\\\",\\n    \\\"address2\\\": \\\"\\\",\\n    \\\"city\\\": \\\"COEUR D ALENE\\\",\\n    \\\"state\\\": \\\"ID\\\",\\n    \\\"postal_code\\\": \\\"83815-0048\\\",\\n    \\\"country\\\": \\\"USA\\\",\\n    \\\"available_refunds\\\": {\\n        \\\"buyer_fee\\\": 2.0,\\n        \\\"shipping_fee\\\": 4.0,\\n        \\\"buy_one_get_one_upsell_fee\\\": 2.0,\\n      \\t\\\"accessory_upsell_fee\\\": 4.0\\n    },\\n    ...\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","slug":"separated-upsells-fee","title":"Separated Upsells fee"}

Separated Upsells fee


Sellers who offer Buy one get one (same price) or accessories in purchasing their products are familiar with term [upsells bogo](https://seller-hub.cn.tophatter.com/article/474-buy-one-get-one) and [upsells accessory](https://seller-hub.cn.tophatter.com/article/475-upsell-accessory). Today, we made a change in our backend and API so that sellers are able to differentiate this price fee. **Before** [block:code] { "codes": [ { "code": "{\n \"order_id\": 96142808,\n \"status\": \"shipped\",\n \"carrier\": \"china-ems\",\n \"tracking_number\": \"LW813964844CN\",\n \"fulfillment_partner\": null,\n \"product_name\": \"SEASUM Women's High Waist Yoga Pants Tummy Control Slimming Booty Leggings Workout Running Butt Lift Tights\",\n \"product_identifier\": \"zxc1021210\",\n \"product_internal_id\": 22715962,\n \"variation_identifier\": \"zxc1021210-XL-black\",\n \"variation_internal_id\": 54566537,\n \"annotation\": null,\n \"customer_id\": 23927487,\n \"customer_name\": \"MIKE NELSON\",\n \"address1\": \"6701 N IDLEWOOD DR\",\n \"address2\": \"\",\n \"city\": \"COEUR D ALENE\",\n \"state\": \"ID\",\n \"postal_code\": \"83815-0048\",\n \"country\": \"USA\",\n \"available_refunds\": {\n \"buyer_fee\": 2.0,\n \"shipping_fee\": 4.0,\n \"lot_upsell_fee\": 6.0\n },\n ...\n}", "language": "json" } ] } [/block] **After** [block:code] { "codes": [ { "code": "{\n \"order_id\": 96142808,\n \"status\": \"shipped\",\n \"carrier\": \"china-ems\",\n \"tracking_number\": \"LW813964844CN\",\n \"fulfillment_partner\": null,\n \"product_name\": \"SEASUM Women's High Waist Yoga Pants Tummy Control Slimming Booty Leggings Workout Running Butt Lift Tights\",\n \"product_identifier\": \"zxc1021210\",\n \"product_internal_id\": 22715962,\n \"variation_identifier\": \"zxc1021210-XL-black\",\n \"variation_internal_id\": 54566537,\n \"annotation\": null,\n \"customer_id\": 23927487,\n \"customer_name\": \"MIKE NELSON\",\n \"address1\": \"6701 N IDLEWOOD DR\",\n \"address2\": \"\",\n \"city\": \"COEUR D ALENE\",\n \"state\": \"ID\",\n \"postal_code\": \"83815-0048\",\n \"country\": \"USA\",\n \"available_refunds\": {\n \"buyer_fee\": 2.0,\n \"shipping_fee\": 4.0,\n \"buy_one_get_one_upsell_fee\": 2.0,\n \t\"accessory_upsell_fee\": 4.0\n },\n ...\n}", "language": "json" } ] } [/block]
improved
http://merchant-api.tophatter.com/docs/order-retrieve