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

NameTypeDescription

projectId

string

Unique id for the project

Headers

NameTypeDescription

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