Get invoice details

This endpoint is designed to fetch the invoice details associated with a given customer order number.

Get Invoice Details

GET http://{slug}.eshopbox.com/api/invoice-detail/{OrderNumber}

The Get Invoice Details API provides users with the ability to retrieve detailed information about an invoice for a specific order. By supplying the order number, you can access data related to the invoice, enabling seamless tracking and management of order invoices across different sales channels. It allows you to pass either the Customer Order ID or the Channel Order ID in the request.

Path Parameters

Name
Type
Description

OrderNumber

string

You can pass either the Customer Order ID or the Channel Order ID in the request. The Channel Order ID is a unique identifier generated by the sales channel for internal fulfillment processes, while the Customer Order ID is a unique identifier used by the channel to communicate order details with the customer. This flexibility ensures the API supports both operational workflows and customer-facing communications seamlessly.

Headers

Name
Type

Authentication

string

The Bearer token for API authentication. Replace {access_token} with the valid access token.

proxyHost

string

The proxy host to route the request. Replace {proxy_host} with the appropriate value.

[
    {
        "externalShipmentID": "11234057650543-2804-4469",
        "channelOrderId": "11234057650543",
        "customerOrderId": "#294914",
        "invoice_url": "https://storage.googleapis.com/invoicefiles-prod/invoice/112340512354328000069-1731992864715.pdf",
        "invoiceNumber": "INVRAYMD29278",
        "invoiceDate": "2024-11-19 10:37:38",
        "items": [
            {
                "orderItemID": "11234057650543-40833809"
            },
            {
                "orderItemID": "11234057650543-40833811"
            },
            {
                "orderItemID": "11234057650543-40833812"
            }
        ]
    },
    {
        "externalShipmentID": "11234057650543-2804-4872",
        "channelOrderId": "11234057650543",
        "customerOrderId": "#294914",
        "invoice_url": "https://storage.googleapis.com/invoicefiles-prod/invoice/112340576505442044872-173298764658.pdf",
        "invoiceNumber": "INVRAYBA32466",
        "invoiceDate": "2024-11-19 13:15:00",
        "items": [
            {
                "orderItemID": "11234057650543-40833810"
            }
        ]
    }
]
curl --location 'http://{slug}.eshopbox.com/api/invoice-detail/{orderNumber}' \
--header 'Authorization: Bearer {access_token}' \
--header 'proxyHost: {proxy_host}'

Last updated