Update Header

Put https://app.moneygraph.ai/api/v1/customer/invoice/header/update/{user}/{header_id}

Headers

Authorization* string

Pass your {api_key} as a bearer token in the request header to authorize this call

Path parameters

user* string

The onboarded customer ID or the MCP Key

header_id* string

ID of invoice header to update

Body parameters

countrystring

Country if present in the request must be in ISO2 format e.g US, NG

emailstring

Email address on the invoice header

phonestring

Phone number

company_name string

The company/entity name on the invoice header..

statestring

State iso2

citystring

City

addressstring

Invoice header address

postal_codestring

Postal/Zip Code

websitestring

The entity's website

image_url<string

The logo to appear on the invoice header.

image_sizeinteger

This specifies how you want the logo to be sized. Integer values such as 10, 20,30,40, 50, 60, 70, 80, 90, 100 are allowed.

Response


{
     "message": "Invoice header updated successfully",
    "status": "success",
    "data": {
        "id": "9f2736ff-01ea-44b1-ab3e-f6cd48370ab9",
        "company": "MedLands Inc",
        "image_url": "https://cdn.pixabay.com/photo/2015/06/30/11/33/porsche-826385_1280.jpg",
        "mode": "test"
    }
}