• Resolved mujuonly

    (@mujuonly)


    Is it possible to use the WooCommerce REST API to update a product using the SKU?

    The CSV importer can update products by SKU but is this currently supported feature in the REST API.

    It’s a performance issue to update the product in a batch by getting the product ID using the SKU and then update the product using the ID.

    • This topic was modified 4 years, 1 month ago by mujuonly.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Is it possible to use the WooCommerce REST API to update a product using the SKU?

    No, products can only be retrieved/updated based on the ID of the product. Once you have the ID, the SKU field can be updated but based on what you’ve written so far, it looks like you already know that 🙂

    For more information on how to work with the REST API, have a look at the following guide: https://woocommerce.github.io/woocommerce-rest-api-docs/#update-a-product

    Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to update product via REST API using SKU.’ is closed to new replies.