• Resolved alkateb

    (@alkateb)


    Hello, I am trying to create an order with WooCommerce REST API as described in this link https://woocommerce.github.io/woocommerce-rest-api-docs/#create-an-order, with the following data:

    {
      "payment_method": "wallet",
      "payment_method_title": "Wallet Payment",
      "set_paid": true,
      "customer_id": 3,
      "billing": {
        "first_name": "John",
        "last_name": "Doe",
        "address_1": "969 Market",
        "address_2": "",
        "city": "San Francisco",
        "state": "CA",
        "postcode": "94103",
        "country": "US",
        "email": "[email protected]",
        "phone": "(555) 555-5555"
      },
      "line_items": [
        {
          "product_id": 1109,
          "quantity": 2
        }
      ]
    }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Wallet not debited when order is created via WC rest API’ is closed to new replies.