Invoices

(ms.invoices)

It stores the order invoices.



Fields

Value Description
order_id   
Type: string
Required
Unique identifier for the order.
invoice_number   
Type: string
Required
The unique invoice identity. The format for invoice number is "INV#####".
INV12345
seller_id   
Type: string
Unique id of the seller of the order.
586f990997da96ba5c9ae2ac
invoice_pdf   
Type: string
URL of the invoice pdf file.

Commands (Endpoints)

POST /api/1/entity/ms.invoices   
Creates a new invoice
DEL /api/1/entity/ms.invoices/{resource_id}   
Deletes a invoice
PUT /api/1/entity/ms.invoices/{resource_id}   
Updates an existing invoice
GET /api/1/entity/ms.invoices/{resource_id}   
Retrieves a single invoice
GET /api/1/entity/ms.invoices   
Retrieves a list of invoices