add wooCommerce product add-ons values to product data while order by rest api
-
how to add woocommerce product addon plugin values like (short text inputs, multiple choice …) to order body when checkout by rest api ?
{
“token”: “”,
“customer_id”: 1480,
“set_paid”: false,
“payment_method”: “woo_mpgs”,
“payment_method_title”: “MPGS”,
“billing”: {
“first_name”: “m”,
“last_name”: “m”,
“company”: “”,
“address_1”: “”,
“address_2”: “”,
“city”: “”,
“postcode”: “”,
“country”: “”,
“state”: “”,
“email”: “[email protected]”,
“phone”: “059 876 5432”
},
“line_items”: [
{
“product_id”: 329007039,
“quantity”: 1,
“variation_id”: 329007042,
“meta_data”: [{}]
}
],
“currency”: “USD”
}
- The topic ‘add wooCommerce product add-ons values to product data while order by rest api’ is closed to new replies.