Skip to main content
POST
Send order

Overview

With this method you can send order messages, containing products from your catalog or customized at the time of sending. This message is the same as the one sent when you click the “Accept order” or “Send invoice” button.
Available only for WhatsApp business accounts. Products without productId are treated as custom items.

Example on WhatsApp


Attributes

string
required
Your instance ID. Available in the Z-API panel under Instances.
string
required
Your Z-API instance token.

Required

string
required
Recipient’s phone number in DDI DDD NUMBER format. E.g.: 551199999999
object
required
Order data

Optional

object
Payment settings

Request Body

With catalog products and payment:
Required fields only (custom product):

Response

200

405

Make sure you are correctly sending the method specification, that is, verify that you sent POST or GET as specified at the beginning of this topic.

415

If you receive a 415 error, make sure to add the “Content-Type” header to your request, which in most cases is “application/json”.