# Update variants in catalog **PATCH /catalog/product/variant/** Allows batch updates of variants in the catalog. ## Servers - production: https://m2e.cloud/api/v1/api (production) - dev: https://sales-channels.m2ecloud.dev/api/v1/api (dev) - local: https://10.0.30.15:56000/api/v1/api (local) ## Authentication methods - Jwt ## Parameters ### Body: application/json (object) A list of variants to update. - **variants** (array[object]) An array of variants to be updated in the catalog. ## Responses ### 200 Successfully updated variants in catalog. #### Headers - **X-RateLimit-Limit** () The number of allowed requests in the current period. - **X-RateLimit-Remaining** () The number of remaining requests in the current period. - **X-RateLimit-Retry-After** () The date of number of remaining requests will reset. #### Body: application/json (object) - **updated** (integer) The count of variants successfully updated. ### 400 Bad request #### Headers - **X-RateLimit-Limit** () The number of allowed requests in the current period. - **X-RateLimit-Remaining** () The number of remaining requests in the current period. - **X-RateLimit-Retry-After** () The date of number of remaining requests will reset. #### Body: application/json (array[object]) - **code** (string) An error code that identifies the type of error that occurred. - **message** (string) A message that describes the error condition in a human-readable form. - **data** (object | array) Additional information that can help the caller understand or fix the issue. ### 404 Not found #### Body: application/json (array[object]) - **code** (string) An error code that identifies the type of error that occurred. - **message** (string) A message that describes the error condition in a human-readable form. - **data** (object | array) Additional information that can help the caller understand or fix the issue. ### 401 Unauthorized #### Body: application/json (array[object]) - **code** (string) An error code that identifies the type of error that occurred. - **message** (string) A message that describes the error condition in a human-readable form. - **data** (object | array) Additional information that can help the caller understand or fix the issue. ### 429 Too many requests #### Headers - **X-RateLimit-Limit** () The number of allowed requests in the current period. - **X-RateLimit-Remaining** () The number of remaining requests in the current period. - **X-RateLimit-Retry-After** () The date of number of remaining requests will reset. #### Body: application/json (array[object]) - **code** (string) An error code that identifies the type of error that occurred. - **message** (string) A message that describes the error condition in a human-readable form. - **data** (object | array) Additional information that can help the caller understand or fix the issue. ### 500 Internal server error #### Body: application/json (array[object]) - **code** (string) An error code that identifies the type of error that occurred. - **message** (string) A message that describes the error condition in a human-readable form. - **data** (object | array) Additional information that can help the caller understand or fix the issue. [Powered by Bump.sh](https://bump.sh)