Hi, I’m having a rough time trying to create a fulfillment with tracking info. Anytime I attempt to create a fulfillment object with tracking info it is stripped from the resulting object. This causes me to have to update the fulfillment which leads to both an “Order is on The Way” email as well as a “Order Shipment Info Updated” email
I think this bug should easily reproduce on any store, thanks for any help
Request
https://photomemoriesdev.myshopify.com/admin/api/2021-01/fulfillments.json
{
"fulfillment": {
"location_id": 64589627567,
"tracking_numbers": ["PH000000000GB"],
"tracking_urls": ["https://www.royalmail.com/portal/rm/track?trackNumber=PH000000000GB"],
"notify_customer": true,
"tracking_company": "Mixed",
"message": "shp_608594",
"line_items_by_fulfillment_order": [{
"fulfillment_order_id": 5185939570863
}]
}
}
Response (note tracking info)
{
"fulfillment": {
"id": 3725025345711,
"order_id": 4212377911471,
"status": "success",
"created_at": "2021-10-19T11:03:37-07:00",
"service": "prodigi-fulfillment",
"updated_at": "2021-10-19T11:03:37-07:00",
"tracking_company": null,
"shipment_status": null,
"location_id": 64658604207,
"line_items": [{
"id": 10591675809967,
"variant_id": 40861856170159,
"title": "Retro Map | Stretched Canvas",
"quantity": 1,
"sku": "GLOBAL-CAN-32x24",
"variant_title": "32x24",
"vendor": "Custom Canvas",
"fulfillment_service": "prodigi-fulfillment",
"product_id": 7002272366767,
"requires_shipping": true,
"taxable": true,
"gift_card": false,
"name": "Retro Map | Stretched Canvas - 32x24",
"variant_inventory_management": "shopify",
"properties": [{
"name": "address",
"value": "19016 wildcat trail 28036"
}, {
"name": "zoom_level",
"value": "5"
}, {
"name": "map_detail",
"value": "Default"
}, {
"name": "style",
"value": "Map"
}, {
"name": "map_style",
"value": "Standard"
}],
"product_exists": true,
"fulfillable_quantity": 0,
"grams": 0,
"price": "72.00",
"total_discount": "0.00",
"fulfillment_status": "fulfilled",
"price_set": {
"shop_money": {
"amount": "72.00",
"currency_code": "USD"
},
"presentment_money": {
"amount": "72.00",
"currency_code": "USD"
}
},
"total_discount_set": {
"shop_money": {
"amount": "0.00",
"currency_code": "USD"
},
"presentment_money": {
"amount": "0.00",
"currency_code": "USD"
}
},
"discount_allocations": [],
"duties": [],
"admin_graphql_api_id": "gid:\/\/shopify\/LineItem\/10591675809967",
"tax_lines": [],
"origin_location": {
"id": 3187653443759,
"country_code": "US",
"province_code": "NC",
"name": "[DEV] Crafted Canvas",
"address1": "19016 Wildcat Trail",
"address2": "",
"city": "Davidson",
"zip": "28036"
}
}],
"tracking_number": null,
"tracking_numbers": [],
"tracking_url": null,
"tracking_urls": [],
"receipt": {},
"name": "#1016.1",
"admin_graphql_api_id": "gid:\/\/shopify\/Fulfillment\/3725025345711"
}
}