Change Product EPC State
Product EPC
Change Product EPC State
Updates the status of a product EPC. If the EPC belongs to a group (same group_id), all EPCs in that group will be updated to the new state.
PATCH
Change Product EPC State
Documentation Index
Fetch the complete documentation index at: https://docs.buylo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The hash of the product EPC to update
Body
application/json
The new status for the EPC
Available options:
registered, stored, transit, in_store, for_sale, sold, stolen, cancelled, reserved, returned, damaged Example:
"sold"
Response
State updated successfully
Example:
"Product EPC state has been successfully updated"
Number of EPCs updated (includes grouped EPCs)
Example:
3
List of all updated EPC hashes
Example:
[
"8aaedfc3559d0ce545ca55bcea31aad2",
"2b1c7f8c2aab4e33a5e09a2d77f3b611",
"a7d9c4e8b3f2a1c5e7b9d4f8a2c6e9b1"
]