Update Product Badges
Replaces every badge on the product at once (bulk set). An empty list clears all badges.
Requires the stores.products.update permission.
Authorizations
Your API key goes here
Path Parameters
The ID of the store the product belongs to.
The ID of the product.
Body
The complete set of badges to apply.
The label text shown on the badge (e.g. "Best Seller").
32The display order of the badge relative to other badges on the same product.
0 <= x <= 2147483647The badge color as a hex value (e.g. "#22c55e") or a short named color. Optional.
9^#([A-Fa-f0-9]{3,8})$|^[a-zA-Z]{1,9}$Response
The object was successfully updated.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents the data associated with a response.