Skip to main content
PATCH
Change Product EPC State

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

product_epc_hash
string
required

The hash of the product EPC to update

Body

application/json
status
enum<string>
required

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

message
string
required
Example:

"Product EPC state has been successfully updated"

updated_count
integer
required

Number of EPCs updated (includes grouped EPCs)

Example:

3

updated_hashes
string[]
required

List of all updated EPC hashes

Example: