• Resolved mattiasf

    (@mattiasf)


    I create orders using the REST Api like so:

    $order = wc_create_order();
    $order->set_currency(‘DKK’);
    $order->add_product( wc_get_product($item[‘id’]), 1 );
    $order->calculate_totals();
    $order->save();

    Is this supported using this plugin?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Does this plugin support REST API?’ is closed to new replies.