Detach Category from All Products
DELETE
v1/managers/store/categories/{category_id}/products/deleteDetach a specified category from all products in the store. This essentially
disassociates the category from all products it was linked to, but does not delete the category itself.
Request
An Access Token is a unique string that represents the authorization granted to a client (Partner application) by a user (Merchant or Store Manager) to access their protected resources. It is part of the OAuth 2.0 standard and is used to authenticate API requests on behalf of the user. Access Tokens have a limited lifespan and must be used within their validity period. Once expired, a new Access Token can be obtained using a Refresh Token. Access Tokens should be treated as sensitive information and must be kept secure to prevent unauthorized access to the user's data. If you do not have an Access-Token
, but have the older alternative instead, i.e., the X-Manager-Token
, then see the instructions here on how to obtain the Access-Token
.
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
Role of the user.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Request samples
Responses
Unique identifier for the category
Name of the category
URL-friendly version of the category name
SEO optimized title for the category
SEO optimized description for the category
Category names in different languages
Category descriptions in different languages
URL of the category on the web store
URL of the category's image (thumbnail size)
URL of the category's image (full size)
Alternative text for the image for accessibility and SEO
URL of the category's cover image
Full sized category image
Number of products under the category
List of sub-categories under this category. Empty if no sub-categories exist.
ID of the parent category. Null
if this is a top-level category.
Flat representation of the category name
Flag indicating if the category is currently published and visible on the store