Invoices

Available for user tokens and project keys

Invoices

GET https://api.suble.io/projects/:projectId/invoices

Retrieve list of invoices linked to the project.

Path Parameters

Name
Type
Description

projectId

string

Unique id for the project

Headers

Name
Type
Description

Authorization

string

User token or project key.

[
    {
        _id: ObjectId,
        project: ObjectId,
        status: String,
        date: Unix timestamp,
        orderid: String,
        total: Number,
        items: [
            {
                type: String,
                product: ObjectId,
                name: String,
                price: Number
            }
        ],
        user: ObjectId, //Nullable
        token: String //Nullable
    }
]

Last updated