NAV

Get extra fields in REST API

Get extra fields in order details

Request

GET /api/v3/4870020/orders/20?token=1234567890qwqeertt HTTP/1.1
Host: app.ecwid.com
Content-Type: application/json;charset=utf-8
Cache-Control: no-cache

Response

{
    "total": 12.35,
    "orderNumber": 104,
    //...
    "extraFields": {
        "referred_by": "Facebook Ads"
    }
}

After customer placed their order, you can get the saved information using the Ecwid REST API in the order details.

The information you saved earlier is available in the extraFields field in the order details. You can get order details via Ecwid REST API with searching for orders or getting a specific order details methods.

We use cookies and similar technologies to remember your preferences, measure effectiveness of our campaigns, and analyze depersonalized data to improve performance of our site. By choosing «Accept», you consent to the use of cookies.