Get extra fields in REST API

Get extra fields in order details


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


    "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.