{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LegacyReference",
"title": "LegacyReference",
"type": "object",
"properties": {
"legacyItemId": {
"type": "string",
"description": "The unique identifier of a listing.
This value can be found in the Transaction container in the response of the getOrder call of the Trading API.
Note: Both legacyItemId and legacyTransactionId are needed to identify an order line item. "
},
"legacyTransactionId": {
"type": "string",
"description": "The unique identifier of a sale/transaction in legacy/Trading API format. A 'transaction ID' is created once a buyer purchases a 'Buy It Now' item or if an auction listing ends with a winning bidder.
This value can be found in the Transaction container in the response of the getOrder call of the Trading API.
Note: Both legacyItemId and legacyTransactionId are needed to identify an order line item. "
}
},
"description": "Type defining the legacyReference container. This container is needed if the seller is issuing a refund for an individual order line item, and wishes to use an item ID and transaction ID to identify the order line item."
}