Accepter l'échange
Accepts an open trade (one that has not yet been accepted or cancelled), if the locally signed-in player is in the allowed player list for the trade, or it is open to all players. If the call is successful, the offered and accepted items will be swapped between the two players’ inventories.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| ProductDisabledForTitle | 1609 |
| TradeAcceptedCatalogItemInvalid | 1170 |
| TradeAcceptedItemsMismatch | 1175 |
| TradeAcceptingUserNotAllowed | 1156 |
| TradeAllowedUsersInvalid | 1171 |
| TradeAlreadyFilled | 1163 |
| TradeCancelled | 1162 |
| TradeDoesNotExist | 1161 |
| TradeInventoryItemDoesNotExist | 1172 |
| TradeInventoryItemExpired | 1165 |
| TradeInventoryItemInvalidStatus | 1169 |
| TradeInventoryItemIsAssignedToCharacter | 1157 |
| TradeInventoryItemIsBundle | 1158 |
| TradeInventoryItemIsConsumed | 1173 |
| TradeInventoryItemIsNotTradable | 1181 |
| TradeInventoryItemIsStackable | 1174 |
| TradeStatusNotValidForAccepting | 1160 |
| TradeWaitForStatusTimeout | 1164 |
POST
Accept Trade
Autorisations
This API requires a client session ticket, available from any Client Login function.
Corps
application/json
Dernière modification le 6 octobre 2026
Sujets connexes
Démarrage rapide des échangesAnnuler l'échangeObtenir l'état de l'échangeÉchange sur la place de marché - Vue d'ensembleÉchange avec la place de marché Microsoft Store