Admin API / Types
WalletTransactionSource
ObjectWhere 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 WalletTransactionSourceFields
| Field | Type | Description |
|---|---|---|
marketplaceName | String | 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. |
order | Order | 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. |
orderReceiptId | String | The receipt ID of the order of a sale, refund or store fee. Null for other sources. |
shipment | Shipment | 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. |
walletPayout | WalletPayout | The cash-out of a PAYOUT entry. Null for other sources. |