Support » Plugin: WooCommerce » Disable check of uniqueness of SKU using REST API

  • Hello, I am working with Rest API WooCommerce, I see such a problem with the request to save a product, if the SKU field is filled in for the main product, when saving an item via Rest API, the SKU value is automatically substituted into all variable products if the SKU field is not filled in for the variable product. As a result, all variable products have the same SKU.
    1. What parameter in the Rest API allows you to disable the automatic filling of the article using the Rest API?
    2. The Rest API parameter disables the check What is the uniqueness of the article in the goods?
    =======================

    Здравствуйте, работаю с Rest API WooCommerce, наблюдаю такую проблему с запросом сохранения товара, если поле артикул заполнено у основного товара, при сохранении товара по Rest API значение артикул автоматически подставляются во все вариативные товара, если поле артикул у вариативного товара не заполнено. В результате все вариативные товары имеют одинаковый артикул.
    1. Какой параметр в Rest API позволяет отключить автоматическое заполнение артикула по Rest API?
    2. Какой параметр Rest API отключает проверку уникальности артикула в товарах?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Disable check of uniqueness of SKU using REST API’ is closed to new replies.