• Hi, when i add data to metadata field like: EAN code or Manufacturer SKU, it does not get to the orders item metadata.

    REST call:
    From Orders:

    
    "line_items": [
        {
          "id": 35,
          "name": "Lager kilo",
          "product_id": 29,
          "variation_id": 0,
          "quantity": 1,
          "tax_class": "",
          "subtotal": "111.00",
          "subtotal_tax": "0.00",
          "total": "111.00",
          "total_tax": "0.00",
          "taxes": [],
          "meta_data": [],
          "sku": "asd",
          "price": 111
        }
    

    From Produkts:

    
      "meta_data": [
        {
          "id": 219,
          "key": "woocommerce-pricefiles_ean_code",
          "value": "231"
        },
        {
          "id": 1134,
          "key": "woocommerce-pricefiles_sku_manufacturer",
          "value": "12345687890"
        }
      ],
    

    Any idea what i need to add to functon to fix meta data on order?

  • The topic ‘Metadata from prisefile not added to Orders’ is closed to new replies.