Skip to main content
PUT
Bulk Update Badges

Authorizations

Authorization
string
header
required

You can retrieve your API key from your dashboard under Account > Developers.

Path Parameters

shopId
integer
required

The shop ID.

Body

application/json
type
enum<string>
required
Available options:
overwrite,
append,
prepend
Example:

"overwrite"

product_ids
integer[]
Example:
all
boolean
Example:

false

product_badges
string[]

Must not have more than 10 items.

Example:

"yzwszw"

Response

200 - application/json
success
boolean
Example:

true

message
string
Example:

"Products updated successfully"

updated_count
integer
Example:

2

skipped_count
integer
Example:

0

skipped_product_ids
array
Example: