• Hi :).
    I’m creating my new products through the REST API, is it possible to the EAN code – what are the API guidelines for the plug-in?

    Can I just include “EAN”?

    Simplified code for creating my articles through REST;

    new_product = {
      "sku": "test_1",
      "name": titel,
      "regular_price": salesprice,
      "description": omschrijving,
    }

    Thank you & Kind Regards,
    Jonas Rossaert

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter brainwavezzz

    (@brainwavezzz)

    Installed the plug in, requested a product through REST; (get).
    Looked at code & EAN is added as a meta_data field by the plugin.

    I’ve accesed the meta_data field with this code;

    "meta_data": [{
        "key": "_alg_ean",
        "value": "insertEANhere"
      }]

    • This reply was modified 1 year, 7 months ago by brainwavezzz.

    HI @brainwavezzz,

    Thank you for reaching out to us regarding the EAN for WooCommerce plugin. I have escalated your question to our development team for clarification on any API guidelines or best practices for using the plugin with REST API. They will get back to you as soon as possible with any additional information or insights.

    Thank you for your patience and cooperation in this matter.

    Kind regards,
    Moshtafizur

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘EAN through API’ is closed to new replies.