eBay Get Order Fulfillments
Summary of Changes: (The purpose of this table is to keep traceability and Product team to highlight the things that were changed into the scope, based on comments or discussions)
| Date | Version | Name | Applied changes |
|---|---|---|---|
| 08/11/2023 | v1.0 | Bogomil | First Publish |
Get Fulfillments
We will be getting the fulfillments only if we receive them in the Get Orders request under fulfillmentHrefs. From there we directly get the URLs which we call and from the responses we obtain the fulfillments information for the order.
API Call: GET https://api.ebay.com/sell/fulfillment/v1/order/22-10971-12497/shipping_fulfillment/H00HJA0058045180
Headers:
Authorization:Bearer v^1.1#i^1#r^0#I^3#p^3#f^0
X-EBAY-C-MARKETPLACE-ID:EBAY_GB
Sample Response: Status 200 OK
{
"fulfillmentId": "H00HJA0058045180",
"shipmentTrackingNumber": "H00HJA0058045180",
"shippingCarrierCode": "Other",
"shippingServiceCode": "UK_OtherCourier3Days",
"shippedDate": "2023-12-29T10:32:02.000Z",
"lineItems": [
{
"lineItemId": "10060115025422",
"quantity" : 1
}
]
}
Mapping:
| eBay Field | Hemi Field | Comment | |
|---|---|---|---|
fulfillmentId |
Order Shipment > External Id | ||
shipmentTrackingNumber |
Order Shipment > Tracking Number | ||
shippingCarrierCode |
Order Shipment > Courier | ||
shippingServiceCode |
N/A | ||
shippedDate |
Order Shipment > Shipment Time | ||
lineItems |
|||
lineItemId |
We have to use this field in order to map the Product Details > Item Order Line ID and get the correct Order Shipment Row with it`s lines | ||
quantity |
Order Shipment Row > Quantity |