API Explorer
You are viewing an old version of the API

Publish invoice

Publishes the specified draft invoice.

Open in API Reference

Sign In

Parameters

string

Body

integer
string
Request
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareupsandbox.com/v2/invoices/{invoice_id}/publish \
  -X POST \
  -H 'Square-Version: 2020-12-16' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{}'
Response
// No response received yet.

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?