• Resolved lucaspanjaard

    (@lucaspanjaard)


    Dear Madam/Sir,

    I’ve just replaced the WooCommerce EU VAT plug-in for yours, and am very happy with it so far.

    I’m using the REST API to amongst others process orders but saw that order VAT numbers don’t show up when calling via the API.

    Is there a way to retrieve the VAT number of an order via the REST API?
    It would be a pain to do this manually every time.

    With kind regards,

    Luca

Viewing 1 replies (of 1 total)
  • Plugin Author Diego

    (@daigo75)

    The VAT number is stored against orders’ post meta, with the meta key vat_number. If you fetch an order using WooCommerce REST API, the vat number will be there as well, on the meta_data list.

Viewing 1 replies (of 1 total)
  • The topic ‘REST API’ is closed to new replies.