Skip to content

Instantly share code, notes, and snippets.

@ali-cedcoss
Last active May 4, 2022 11:47
Show Gist options
  • Save ali-cedcoss/88aa2408c7c6be16fc69a3f29487e625 to your computer and use it in GitHub Desktop.
Save ali-cedcoss/88aa2408c7c6be16fc69a3f29487e625 to your computer and use it in GitHub Desktop.
ebay fulfillment API order data
{
    "orderId": "363771570101-1313013844023",
    "legacyOrderId": "363771570101-1313013844023",
    "creationDate": "2022-05-01T17:57:00.000Z",
    "lastModifiedDate": "2022-05-03T16:22:54.000Z",
    "orderFulfillmentStatus": "FULFILLED",
    "orderPaymentStatus": "PAID",
    "sellerId": "thestonemartltd",
    "buyer": {
        "username": "2012adamlovett5",
        "taxAddress": {
            "postalCode": "b476hq",
            "countryCode": "GB"
        }
    },
    "pricingSummary": {
        "deliveryCost": {
            "value": "0.0",
            "currency": "GBP"
        },
        "total": {
            "value": "525.0",
            "currency": "GBP"
        }
    },
    "cancelStatus": {
        "cancelState": "NONE_REQUESTED",
        "cancelRequests": []
    },
    "paymentSummary": {
        "totalDueSeller": {
            "value": "525.0",
            "currency": "GBP"
        },
        "refunds": [],
        "payments": [{
            "paymentDate": "2022-05-01T18:21:52.000Z",
            "amount": {
                "value": "525.0",
                "currency": "GBP"
            },
            "paymentStatus": "PAID"
        }]
    },
    "fulfillmentStartInstructions": [{
        "fulfillmentInstructionsType": "SHIP_TO",
        "ebaySupportedFulfillment": false,
        "shippingStep": {
            "shipTo": {
                "fullName": "Adam lovett",
                "contactAddress": {
                    "addressLine1": "44 three oaks road",
                    "city": "wythall",
                    "postalCode": "b476hq",
                    "countryCode": "GB"
                },
                "primaryPhone": {
                    "phoneNumber": "07984684247"
                },
                "email": "280064931789924ad961@members.ebay.com"
            }
        }
    }],
    "fulfillmentHrefs": ["https://api.ebay.com/sell/fulfillment/v1/order/363771570101-1313013844023/shipping_fulfillment/0160370"],
    "lineItems": [{
        "lineItemId": "363771570101",
        "legacyItemId": "363771570101",
        "sku": "SS-005",
        "title": "KANDLA GREY SANDSTONE RIVEN PAVING 900x600 PACK (16.90m2 - 30 slabs)",
        "lineItemCost": {
            "value": "425.0",
            "currency": "GBP"
        },
        "quantity": 1,
        "soldFormat": "FIXED_PRICE",
        "listingMarketplaceId": "EBAY_US",
        "purchaseMarketplaceId": "EBAY_US",
        "lineItemFulfillmentStatus": "FULFILLED",
        "total": {
            "value": "525.0",
            "currency": "GBP"
        },
        "deliveryCost": {
            "shippingCost": {
                "value": "100.0",
                "currency": "GBP"
            }
        },
        "appliedPromotions": [],
        "taxes": [],
        "lineItemFulfillmentInstructions": {
            "guaranteedDelivery": false
        }
    }],
    "salesRecordReference": "144",
    "totalFeeBasisAmount": {
        "value": "525.0",
        "currency": "GBP"
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment