api/v1/customer/manufacturers/{id}/get

GET

/api/v1/customer/manufacturers/{id}/get

This API method will grab a detail of the manufacturer available to the customer.

Sample Response

{
    "status": true,
    "items": {
        "id": "bZ6xBGP2mdPm3R8VX17L",
        "name": "FlowServe",
        "has_logo": 1,
        "campaigns_total": 4,
        "campaigns_registered": 0,
        "total_balance": 499500,
        "total_registered_customers": 7,
        "logo": "http://controlcenter.ftx:81/manufacturers/bZ6xBGP2mdPm3R8VX17L/logo",
        "manufacturer_settings": {
            "account_code": "00002",
            "description": "",
            "chain_logo": null,
            "default_balance_type": "nK8oWGj0zxqELP1A53ak",
            "point_conversion": 1000,
            "default_cash_tender_multiplier": "1.00",
            "default_non_cash_tender_multiplier": "1.00",
            "default_allow_cash_tender": 1,
            "default_allow_non_cash_tender": 1,
            "campaign_require_register": 0,
            "early_registration_time": null,
            "term_contents": "",
            "manufacturer_background": "#bd8888",
            "auto_expand_upcs": 0,
            "created_at": "2019-04-13 14:01:23",
            "updated_at": "2020-07-22 13:20:15"
        },
        "balances": [
            {
                "id": "4",
                "manufacturer_account_id": 2,
                "customer_id": 333,
                "balance_type_id": 3,
                "balance": "499500.00",
                "redeemed": "0.00",
                "created_at": "2019-04-13 12:32:36",
                "updated_at": "2020-11-03 11:12:19",
                "deleted_at": null
            }
        ]
    }
}
{
  "status": false,
  "message": "No manufacturer found"
}