Create a payment link
Makes a new link the customer can open to see and pay an open invoice, and returns it. Nothing is emailed: use it to send the link yourself. Each call makes a new link; links expire after 30 days. The link is built on the host of the app installed for invoice payments, or else the first app host in your technical settings. Returns 422 when the invoice is closed or there is no host. Takes a secret, trusted or limited token. A limited token must be bound to the invoice and cannot see a draft.
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
invoice_id*stringThe invoice id.
The payment link.
application/json- response
A payment link for an invoice.
link_url*stringThe link the customer opens to see and pay the invoice. It is built on the host of the app installed for invoice payments, or else the first app host in your technical settings. It expires after 30 days.
uricurl -X POST 'https://api.comecero.com/api/v1/invoices/string/links'{ "link_url": "https://shop.example.com/link?id=in-7f3c2a91b04e4d6c9a1e"}Delete an invoice item DELETE
Removes one item from an open, unpaid invoice. If the item is part of a bundle, the whole bundle is removed. Shipping and promotions are worked out again. Takes a secret or trusted token.
List invoice notifications GET
Returns the notifications (emails) sent about an invoice, such as the payment link sent to the customer. The list is offset-based. Takes a secret, trusted or limited token. A limited token must be bound to the invoice and cannot see a draft.