Invoices API: (beta)
InvoicePaymentRequest.request_methodfield is deprecated, and its current options are separated into two new fields that better represent their scope:
Invoice.delivery_methodspecifies how Square should send invoices, reminders, and receipts to the customer.
InvoicePaymentRequest.automatic_payment_sourcespecifies the payment method for an automatic payment.
The Invoices API will continue to accept
request_methodin create and update requests until the field is retired, but starting in this version,
request_methodis not included in returned
Invoiceobjects. For more information, see the migration notes.
Connect Node.js SDK: (deprecated)
The deprecated Connect Node.js SDK is in the security maintenance state. It will not receive any bug fixes or API updates from the Square version 2021-01-21 release. However, the SDK will receive support and security patches until it is retired (EOL) in Q2, 2021. For more information, including steps for migrating to the Square Node.js SDK, see the Connect SDK README.
- The Use Item Options to Manage Item Variations topic is added. It demonstrates how item variations are usually used and how item options can be used to enable random access to item variations.
- The Inventory API content is updated. It provides clearer guidance about how to use the API, with a task-oriented TOC and improved code examples.