Admin API / Types

WalletTransactionSource

Object

Where a wallet entry came from. The source can be in another store of the caller's account. For a source in another store, order and shipment are null, and marketplaceName and orderReceiptId keep their values.

type WalletTransactionSource

Fields

FieldTypeDescription
marketplaceNameString
The name of the store of the source order, shipment or paid membership. Null for a cash-out, and when the source no longer exists.
orderOrder
The order of a sale, refund or store fee. Null for other sources, when the order is in another store, and when the caller cannot read the order by the rule of Query.order. Reading the order's fields needs the admin:orders:read scope.
orderReceiptIdString
The receipt ID of the order of a sale, refund or store fee. Null for other sources.
shipmentShipment
The shipment of a shipping label or a label charge. Null for other sources, when the shipment is in another store, and when the caller cannot read the shipment by the rule of Query.shipment. Reading the shipment's fields needs the admin:shipments:read scope.
walletPayoutWalletPayout
The cash-out of a PAYOUT entry. Null for other sources.

Returned by