Load Customer

Fetch a customer using the customer_tag

GET {{base_url}}/customer/:customer_tag

Request Parameters

Name
Type
Description

customer_tag*

String

The unique customer tag

Headers

Name
Type
Description

Authorization*

String

Bearer {{your_secret_key}}

{
    "data": {
        "id": "e9b7d6f7-8ce4-4952-92c9-6615885c4739",
        "name": "Gucci Buyer",
        "business_name": "Gucci Buyer",
        "phone_number": "2348100192839",
        "customer_tag": "CUS_ZVqNWCjsnXt4",
        "address": {
            "id": "ea6eec53-61aa-4834-ab72-b8602fde9d5b",
            "house_name_or_no": "4",
            "street": "International Boulevard 98th Zone",
            "city": "Esan West",
            "zip_code": "342101",
            "state": "Edo",
            "country": "Nigeria"
        },
        "createdAt": "2023-05-12T16:34:47.000000Z",
        "updatedAt": "2023-06-03T14:19:23.000000Z"
    },
    "success": true,
    "message": "Data retrieved successfully"
}

Last updated