Modify Many Player Inventory Uuid
PUT /inventory/v2/player/{player_uuid}/inventory
Modify many Inventory records for the specified player.
Authorizations
Parameters
Path Parameters
Request Body required
Collection of Update Inventory Requests. The Inventory referenced in the Update Inventory Requests must exist otherwise the request will fail. Each individual entry will be processed in the order they are specified in the collection.
Note: Partial success is possible as each request is processed individually.
object
Source of this Inventory Operation.
Arbitrary UUID that can be used by clients to correlate Order requests with Order responses.
Collection of Update Inventory Requests.
Request to Update Inventory by an existing Inventory ID. If the Inventory entry does not exist, then the request will fail.
object
Inventory Bucket for this Inventory Operation.
Count for this Inventory Operation.
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Arbitrary data map that can be set to add additional data to Inventory.
object
Item ID for this Inventory Operation. If the Item ID is not set during an Update Inventory Request, then the Item ID will not be modified on the existing Inventory Record.
Inventory ID for this Inventory Operation.
Responses
200
Successful Response
Represents a Player Order.
object
The source of the Player Order.
Arbitrary UUID clients can use to track Orders between request to response.
Portal of the Portal User the Player Order belongs to.
Portal User Id for the Player this Player Order belongs to.
Instance Id for the Instance who submits the Player Order.
Match Id for the Match that generated the Player Order.
If an order is a transaction, any failed entries will roll back changes from all other entries.
Unique Identifier for the Order.
Player UUID of the Player this Player Order belongs to.
Time the Player Order was created.
List of Player Order Entries for the Player Order.
Represents a line item in the Player Order and the results of the line item.
object
The type of entry.
Unique Identifier for the Loot
Quantity of Inventory
Legacy version for the vendor owning the loot_id. Use vendor_etag
instead.
Etag for the vendor owning the loot_id. Will fail the fulfillment if they do not match
List of Loot IDs for the dynamic bundle.
The purchase price of the Loot. Deprecated. Use the purchase_prices field instead
object
The Item used as the currency for the purchase. Deprecated. Use currencies instead
The price of the Item. Deprecated. Use currencies instead
The Item used as the coupon for the purchase.
List of currencies for this purchase price
The purchase price currencies of an Item.
object
The Item used as the currency for the purchase.
The price of the Item.
External Transaction Id for source of the acquisition or a promotion code to claim. Required for [PROMOTION_CODE] types
External item SKU for the Order Entry.
Inventory Bucket to use for the Order Entry.
Player Portal Event Id for the Order Entry.
Unique Identifier for the Inventory
Legacy Inventory Id. This is only used when type equals [UPDATE_EXISTING_PERSISTENT_INVENTORY, UPDATE_EXISTING_TRANSIENT_INVENTORY]
Item Id used create or update Inventory directly. This is only used when type equals [CREATE_NEW_PERSISTENT_INVENTORY, CREATE_NEW_TRANSIENT_INVENTORY]
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Custom Data Attributes for the Inventory. This is only used when type equals [CREATE_NEW_PERSISTENT_INVENTORY, UPDATE_EXISTING_PERSISTENT_INVENTORY, CREATE_NEW_TRANSIENT_INVENTORY, UPDATE_EXISTING_TRANSIENT_INVENTORY, UPDATE_INVENTORY]
object
Unique Identifier for the Order Entry.
Entry result type.
Details for the Order Entry.
Represents details of what occurred in a Player Order Entry.
object
The type of detail.
The Loot ID.
The Inventory change that occurred as part of this detail.
object
The Item ID of the Item before the change.
The Item ID of the Item after the change.
The Inventory Record before the change.
object
Unique ID for this Inventory Record.
Type of Inventory Record.
Legacy Inventory ID.
Bucket for this Inventory Record.
Instance count for this Inventory Record.
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Arbitrary map of data for this Inventory Record.
object
The Inventory Record after the change.
object
Unique ID for this Inventory Record.
Type of Inventory Record.
Legacy Inventory ID.
Bucket for this Inventory Record.
Instance count for this Inventory Record.
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Arbitrary map of data for this Inventory Record.
object
Reference to the Player Order that this detail belongs to.
object
The source of the Player Order.
Arbitrary UUID clients can use to track Orders between request to response.
Portal of the Portal User the Player Order belongs to.
Portal User Id for the Player this Player Order belongs to.
Instance Id for the Instance who submits the Player Order.
Match Id for the Match that generated the Player Order.
If an order is a transaction, any failed entries will roll back changes from all other entries.
Unique Identifier for the Order.
List of Player Order Entries for the Player Order.
Request to create a Player Order Entry.
object
The type of entry.
Unique Identifier for the Loot
Quantity of Inventory
Legacy version for the vendor owning the loot_id. Use vendor_etag
instead.
Etag for the vendor owning the loot_id. Will fail the fulfillment if they do not match
List of Loot IDs for the dynamic bundle.
The purchase price of the Loot. Deprecated. Use the purchase_prices field instead
object
The Item used as the currency for the purchase. Deprecated. Use currencies instead
The price of the Item. Deprecated. Use currencies instead
The Item used as the coupon for the purchase.
List of currencies for this purchase price
The purchase price currencies of an Item.
object
The Item used as the currency for the purchase.
The price of the Item.
External Transaction Id for source of the acquisition or a promotion code to claim. Required for [PROMOTION_CODE] types
External item SKU for the Order Entry.
Inventory Bucket to use for the Order Entry.
Player Portal Event Id for the Order Entry.
Unique Identifier for the Inventory
Legacy Inventory Id. This is only used when type equals [UPDATE_EXISTING_PERSISTENT_INVENTORY, UPDATE_EXISTING_TRANSIENT_INVENTORY]
Item Id used create or update Inventory directly. This is only used when type equals [CREATE_NEW_PERSISTENT_INVENTORY, CREATE_NEW_TRANSIENT_INVENTORY]
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Custom Data Attributes for the Inventory. This is only used when type equals [CREATE_NEW_PERSISTENT_INVENTORY, UPDATE_EXISTING_PERSISTENT_INVENTORY, CREATE_NEW_TRANSIENT_INVENTORY, UPDATE_EXISTING_TRANSIENT_INVENTORY, UPDATE_INVENTORY]
object
Unique Identifier for the Order Entry.
202
Accepted
Create a new Player Order.
Note: use_inventory_bucket
will be ignored on the PlayerOrderEntryCreate if the source
equals CLIENT
.
object
The source of the Player Order.
Arbitrary UUID clients can use to track Orders between request to response.
Portal of the Portal User the Player Order belongs to.
Portal User Id for the Player this Player Order belongs to.
Instance Id for the Instance who submits the Player Order.
Match Id for the Match that generated the Player Order.
If an order is a transaction, any failed entries will roll back changes from all other entries.
Unique Identifier for the Order.
List of Player Order Entries for the Player Order.
Request to create a Player Order Entry.
object
The type of entry.
Unique Identifier for the Loot
Quantity of Inventory
Legacy version for the vendor owning the loot_id. Use vendor_etag
instead.
Etag for the vendor owning the loot_id. Will fail the fulfillment if they do not match
List of Loot IDs for the dynamic bundle.
The purchase price of the Loot. Deprecated. Use the purchase_prices field instead
object
The Item used as the currency for the purchase. Deprecated. Use currencies instead
The price of the Item. Deprecated. Use currencies instead
The Item used as the coupon for the purchase.
List of currencies for this purchase price
The purchase price currencies of an Item.
object
The Item used as the currency for the purchase.
The price of the Item.
External Transaction Id for source of the acquisition or a promotion code to claim. Required for [PROMOTION_CODE] types
External item SKU for the Order Entry.
Inventory Bucket to use for the Order Entry.
Player Portal Event Id for the Order Entry.
Unique Identifier for the Inventory
Legacy Inventory Id. This is only used when type equals [UPDATE_EXISTING_PERSISTENT_INVENTORY, UPDATE_EXISTING_TRANSIENT_INVENTORY]
Item Id used create or update Inventory directly. This is only used when type equals [CREATE_NEW_PERSISTENT_INVENTORY, CREATE_NEW_TRANSIENT_INVENTORY]
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Custom Data Attributes for the Inventory. This is only used when type equals [CREATE_NEW_PERSISTENT_INVENTORY, UPDATE_EXISTING_PERSISTENT_INVENTORY, CREATE_NEW_TRANSIENT_INVENTORY, UPDATE_EXISTING_TRANSIENT_INVENTORY, UPDATE_INVENTORY]
object
Unique Identifier for the Order Entry.
403
Forbidden
object
422
Validation Error