Resource Information


Description Endpoint to return a customer from Shopify by their account number assigned through B2BToolbox.
Resource URL https://api.mpstoolbox.com/v1/clients/{accountnumber}
Rate Limited False
Response Format JSON
Authentication API-Key

Parameters


Parameter Type Description Optional Default
accountnumber bigint The account number of the client to retrieve. False NULL

Example


GET https://api.mpstoolbox.com/v1/clients/12345

Response

{
    "client_id":"152946",
    "accountnumber": "12345",
    "companyName": "Houseperson Inc.",
    "firstname": "Wilma",
    "lastname": "Flintstone",
    "phonenumber": "613-555-1234",
    "email": "wilma@bedrock.com",
    "hubspot_id": "566540",
    "sap_id": "909092",
    "eautomate_id": "12",
    "website": "wilma.facerock.com",
    "address": "301 Cobblestone Way",
    "address1": "",
    "city": "Bedrock",
    "province": "ON",
    "zippostal": "70777",
    "country": "CA"
}

Error Response

{
    "code": 204,
    "data": "No Data Found"
}