Allivet REST API enables you to view our product catalog and use our drop shipping service to power your business. With Allivet REST API you interact with the API in the context of a shop customer, like other RESTful APIs, operates on resources, enabling you to implement storefront-related functionality.
Allivet REST API consists of network of API that handles customer creation/update as well as submit order transaction to do store-front related functionality. Allivet also provides integrator, the capabilities to download our catalogs, and availability of stocks. Product availability will depend on business requirements. This project aims to tailor Allivet Web API with some of customer specific requirements according to your business needs. Endpoints will only be visible to integrators according to permission granted to them.
Success
Generate Bearer Token to grant access to api-endpoints
Provide client credentials
Return token
Scope is not provided or credentials invalid
Forbidden Access to API end point
Internal Server Error
{- "clientID": "client-id",
- "clientSecretKey": "client/sercrEt%Key",
- "apiScope": "api:<scope>",
- "storeKey": "store id<string>"
}
{- "validTo": "2021-03-16T22:12:34Z",
- "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJMb2dpbiBUb2tlbiIsImp0aSI6ImFlNWY1M2JhLTcxMjEtNGRlMy05YmIwLWNlYWZiMzBhNjZhYyIsInNjb3BlcyI6ImFwaTp0ZWxlaGVhbHRoIiwidXNlcm5hbWUiOiI1MTUyMDIzMi1CNzI4LTQ5QUEtOTg5RC0zMzRDNDgiLCJleHAiOjE2MDY2MDcxNDQsImlzcyI6IkFsbGl2ZXQuY29tIiwiYXVkIjoiQWxsaXZldC5jb20ifQ.LdZxxF7khM8jdQD7XP7WtT6W5SPrlOiR_ewhAuqVnV4"
}
This endpoint will allow you to retrieve product information specific to the Product SKU provided. You may pass URL parameters to these endpoints to search for a particular product.
Return product.
Product id not informed.
Product not found
{ "itemName": "10012", "brand": "CLOVITE", "manufacturer": "Zoetis", "itemType": "Matrix Group", "itemDescription": "CLOVITE", "showBuyButton": "Y", "asByPass": "N", "active": "A", "isRxItem": "Y", "isColdItem": "N", "isDangerousGoods": "N", "isMap": "Y", "isP65": "Y", "metaData": { "seoData": { "seTitle": "CLOVITE", "seKeywords": "buy clovite online, clovite for dogs, clovite for horses", "seDescription": "Call us at 1-877-500-9944 to purchase natural vitamin supplement CLOVITE with our everyday low price guarantee. Order now and Save your and money on AutoShip order.", "seAltText": "Order natural vitamin supplement CLOVITE" }, "htmlSummary": "CLOVITE is a natural, high-potency supplement that offers Vitamin B12, Vitamin D, and Vitamin A.", "whatIs": "", "productFor": "For use in all animal species.", "whyUseIt": "CLOVITE is a vitamin-enriched supplement that is safe for any species.", "howItWorks": "CLOVITE provides animals with essential vitamins, supporting immune system health.", "activeIngredients": "Soybean meal, Soy flour, Vitamin A & D oil, Dicalcium phosphate, Vitamin B12 supplement, Vitamin A & D3 supplement, Choline chloride, Vitamin E supplement, Calcium pantothenate, Niacin, Pyridoxine hydrochloride, Thiamine hydrochloride, Riboflavin, Biotin.", "howIsItSold": "-5 lbs -25 lbs", "sideEffects": "No known side effects.", "specialPrecautions": "", "eventOfOverdose": "Contact your closest animal hospital immediately.", "howtoStore": "Store in a dry and cool environment.", "tip": "CLOVITE is a palatable powder formula that can be dressed or mixed into feed, or combined with milk for nursing foals, calves, baby pigs, puppies and kittens.", "htmlDosages": "Young Foals and Weanlings: 1 to 2 tablespoonfuls daily.Brood Mares: (latter half of pregnancy and lactation) 2 tablespoonfuls twice a day. Ponies: 1 tablespoonful daily. Colts, Stallions and Horses in Training: 1 tablespoonful per 400 lb daily. All Farm Animals: 1 to 3 lb to each 100 lb feed.", "htmlIngredients": "VITAMIN A VITAMIN D VITAMIN B12" }, "productAttribute": { "petType": "Dog", "category": "HorseSupplements", "lifeStage": [ "All", "Adult", "Kitten", "Puppy", "Senior" ], "dietary": [ "Gluten Free", "GMO Free", "Grain Free" ], "healthCondition": [ "Allergies", "Bacterial Infections" ], "flavor": [ "Strawberry", "Orange", "Apple" ], "form": [ "Liquid", "Capsules", "Tablets" ] }, "matrixItem": [ { "itemName": "10012-05", "upcCode": "1877527745411", "itemDescription": "CLOVITE 10 lbs", "itemType": "Matrix Item", "allivetPrice": 55.99, "mapPrice": 56.77, "showBuyButton": "Y", "weightInPounds": 5, "lengthInInches": 2, "heightInInches": 2.2, "widthInInches": 2, "active": "A", "asByPass": "N", "isShippingRestricted": "Y", "stateRestricted": [ "CA", "CT", "GA", "IN" ], "productAttribute": { "petType": "Dog", "category": "HorseSupplements", "lifeStage": [ "All", "Adult", "Kitten", "Puppy", "Senior" ], "dietary": [ "Gluten Free", "GMO Free", "Grain Free" ], "healthCondition": [ "Allergies", "Bacterial Infections" ], "flavor": [ "Strawberry", "Orange", "Apple" ], "form": [ "Liquid", "Capsules", "Tablets" ] } } ], "bundleComponent": [ { "itemName": null, "upcCode": null, "itemDescription": null, "itemType": null, "allivetPrice": 0, "mapPrice": 0, "showBuyButton": "\u0000", "weightInPounds": 0, "lengthInInches": 0, "heightInInches": 0, "widthInInches": 0, "active": "\u0000", "asByPass": "\u0000", "isShippingRestricted": "\u0000", "stateRestricted": null, "productAttribute": null } ] }
This endpoint will allow you to retrieve all products based on provided page number. You may pass URL parameters to these endpoints to navigate the pagination.
Return list of product.
Pageno not informed.
Products not found
{ "current_page": 1, "data": [ { "itemName": "10012", "brand": "CLOVITE", "manufacturer": "Zoetis", "itemType": "Matrix Group", "itemDescription": "CLOVITE", "showBuyButton": "Y", "asByPass": "N", "active": "A", "isRxItem": "Y", "isColdItem": "N", "isDangerousGoods": "N", "isMap": "Y", "isP65": "Y", "metaData": { "seoData": { "seTitle": "CLOVITE", "seKeywords": "buy clovite online, clovite for dogs, clovite for horses", "seDescription": "Call us at 1-877-500-9944 to purchase natural vitamin supplement CLOVITE with our everyday low price guarantee. Order now and Save your and money on AutoShip order.", "seAltText": "Order natural vitamin supplement CLOVITE" }, "htmlSummary": "CLOVITE is a natural, high-potency supplement that offers Vitamin B12, Vitamin D, and Vitamin A.", "whatIs": "", "productFor": "For use in all animal species.", "whyUseIt": "CLOVITE is a vitamin-enriched supplement that is safe for any species.", "howItWorks": "CLOVITE provides animals with essential vitamins, supporting immune system health.", "activeIngredients": "Soybean meal, Soy flour, Vitamin A & D oil, Dicalcium phosphate, Vitamin B12 supplement, Vitamin A & D3 supplement, Choline chloride, Vitamin E supplement, Calcium pantothenate, Niacin, Pyridoxine hydrochloride, Thiamine hydrochloride, Riboflavin, Biotin.", "howIsItSold": "-5 lbs -25 lbs", "sideEffects": "No known side effects.", "specialPrecautions": "", "eventOfOverdose": "Contact your closest animal hospital immediately.", "howtoStore": "Store in a dry and cool environment.", "tip": "CLOVITE is a palatable powder formula that can be dressed or mixed into feed, or combined with milk for nursing foals, calves, baby pigs, puppies and kittens.", "htmlDosages": "Young Foals and Weanlings: 1 to 2 tablespoonfuls daily.Brood Mares: (latter half of pregnancy and lactation) 2 tablespoonfuls twice a day. Ponies: 1 tablespoonful daily. Colts, Stallions and Horses in Training: 1 tablespoonful per 400 lb daily. All Farm Animals: 1 to 3 lb to each 100 lb feed.", "htmlIngredients": "VITAMIN A VITAMIN D VITAMIN B12" }, "productAttribute": { "petType": "Dog", "category": "HorseSupplements", "lifeStage": [ "All", "Adult", "Kitten", "Puppy", "Senior" ], "dietary": [ "Gluten Free", "GMO Free", "Grain Free" ], "healthCondition": [ "Allergies", "Bacterial Infections" ], "flavor": [ "Strawberry", "Orange", "Apple" ], "form": [ "Liquid", "Capsules", "Tablets" ] }, "matrixItem": [ { "itemName": "10012-05", "upcCode": "1877527745411", "itemDescription": "CLOVITE 10 lbs", "itemType": "Matrix Item", "allivetPrice": 55.99, "mapPrice": 56.77, "showBuyButton": "Y", "weightInPounds": 5, "lengthInInches": 2, "heightInInches": 2.2, "widthInInches": 2, "active": "A", "asByPass": "N", "isShippingRestricted": "Y", "stateRestricted": [ "CA", "CT", "GA", "IN" ], "productAttribute": { "petType": "Dog", "category": "HorseSupplements", "lifeStage": [ "All", "Adult", "Kitten", "Puppy", "Senior" ], "dietary": [ "Gluten Free", "GMO Free", "Grain Free" ], "healthCondition": [ "Allergies", "Bacterial Infections" ], "flavor": [ "Strawberry", "Orange", "Apple" ], "form": [ "Liquid", "Capsules", "Tablets" ] } } ], "bundleComponent": [ { "itemName": null, "upcCode": null, "itemDescription": null, "itemType": null, "allivetPrice": 0, "mapPrice": 0, "showBuyButton": "\u0000", "weightInPounds": 0, "lengthInInches": 0, "heightInInches": 0, "widthInInches": 0, "active": "\u0000", "asByPass": "\u0000", "isShippingRestricted": "\u0000", "stateRestricted": null, "productAttribute": null } ] } ], "from": 1, "last_page": 1, "next_page_url": null, "path": "\\/", "per_page": 100, "prev_page_url": null, "to": 1, "total": 1 }
This endpoint will allow you to retrieve product availability specific to the Product SKU provided. You may pass URL parameters to these endpoints to search for a particular product.
Return product.
Product id not informed.
Product not found
Http Method | Resource | Description |
GET | /api/Vets | Gets information of the vets, parameters are required according to combination. 1. GET api/Vets/{vetname , vetState} 2. GET api/Vets/{phonenumber} 3. GET api/Vets/{VetPostalCode} |
Success
Bad Request
This endpoint will allow you to create vet.
Vet to be created.
Success
Bad Request
Not Found
{- "vetName": "Anne Peddon",
- "clinicName": "BOSSIER ANIMAL HOSPITAL",
- "vetAddress": "3308 INDUSTRIAL DRIVE",
- "vetCity": "GENESEO",
- "vetState": "NY",
- "vetPostalCode": "14454",
- "vetPhone": "4245689898"
}
{- "vetId": 1545,
- "vetName": "Anne Peddon",
- "clinicName": "BOSSIER ANIMAL HOSPITAL",
- "vetAddress": "3308 INDUSTRIAL DRIVE",
- "vetCity": "GENESEO",
- "vetState": "NY",
- "vetPostalCode": "14454",
- "vetPhone": "4245689898",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
This endpoint will allow you to get specific order information. You may pass URL parameters to these endpoints to navigate to a specific order by providing the unique id of the order.
Success
Bad Request
Not Found
This endpoint will allow you to Create order.
Order to be created.
Success
Bad Request
Not Found
{- "clientId": "DropshipClient",
- "clientOrderId": "26849758",
- "customerId": "johndoe@gmail.com",
- "customerKeyId": "ac11JDiERGcI32X3ILwjahBAYM",
- "salesOrderDate": "2014-02-23T20:01:08-08:00",
- "shippingMethod": "GRND",
- "billToName": "John Doe",
- "billToAddress": "23200 Summer Glenn",
- "billToCity": "Harbor City",
- "billToState": "CA",
- "billToPostalCode": "90717",
- "billToCountry": "US",
- "billToPhone": "4245673448",
- "shipToAddressId": "ac1aJDiERGcI32X3ILwjahBAYM",
- "shipToName": "John Doe",
- "shipToAddress": "23200 Summer Glenn",
- "shipToCity": "Harbor City",
- "shipToState": "CA",
- "shipToPostalCode": "90717",
- "shipToCountry": "US",
- "shipToPhone": "4245673448",
- "isAutoship": "N",
- "isReship": "N",
- "reasonCode": "0",
- "originalClientOrderId": "0",
- "customerSalesOrderDetail": [
- {
- "clientItemId": "5303207",
- "itemName": "25639-1",
- "lineNum": 1,
- "quantityOrdered": 100,
- "itemDescription": "Apoquel Tablet",
- "salesPrice": 2.31,
- "howDoWeGetYourRx": "0",
- "customerVet": {
- "clientVetId": "1545",
- "vetName": "Anne Peddon",
- "clinicName": "BOSSIER ANIMAL HOSPITAL",
- "vetAddress": "3308 INDUSTRIAL DRIVE",
- "vetPhone": "3187467821",
- "vetCity": "GENESEO",
- "vetState": "NY",
- "vetPostalCode": "14454"
}, - "customerPet": {
- "clientPetId": "54685",
- "petName": "Lovely",
- "petType": "Dog",
- "petBreed": "Labrador Retriever Dog",
- "petGender": "M",
- "petAge": "6-7 years",
- "petDateOfBirth": "3/9/2009",
- "petWeight": 95.5,
- "medicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "medicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "medicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation",
- "isPregnant": "N"
}
}
]
}
{- "salesOrderCode": "SO-2182630",
- "clientId": "DropshipClient",
- "clientOrderId": "26849758",
- "customerId": "johndoe@gmail.com",
- "customerKeyId": "ac11JDiERGcI32X3ILwjahBAYM",
- "salesOrderDate": "2014-02-23T20:01:08-08:00",
- "shippingMethod": "Allivet Shipping",
- "billToName": "John Doe",
- "billToAddress": "23200 Summer Glenn",
- "billToCity": "Harbor City",
- "billToState": "CA",
- "billToPostalCode": "90717",
- "billToCountry": "US",
- "billToPhone": "4245673448",
- "shipToAddressId": "ac1aJDiERGcI32X3ILwjahBAYM",
- "shipToName": "John Doe",
- "shipToAddress": "23200 Summer Glenn",
- "shipToCity": "Harbor City",
- "shipToState": "CA",
- "shipToPostalCode": "90717",
- "shipToCountry": "US",
- "shipToPhone": "4245673448",
- "subTotal": 44.18,
- "freight": 48.2,
- "freightTax": 48.2,
- "tax": 20.9,
- "total": 57.09,
- "isAutoship": "Y",
- "isReship": "N",
- "reasonCode": "0",
- "originalClientOrderId": "N/A",
- "orderStatus": "Waiting for Rx",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000",
- "customerSalesOrderDetail": [
- {
- "clientItemId": "5303207",
- "itemName": "25639-1",
- "lineNum": 1,
- "quantityOrdered": 100,
- "itemDescription": "Apoquel Tablet",
- "salesTaxAmount": 2.31,
- "salesPrice": 2.31,
- "netPrice": 2.31,
- "extPrice": 2.31,
- "couponDiscount": 2.31,
- "weightInPounds": 2.31,
- "netWeightInPounds": 2.31,
- "howdowegetyourRxC": "0",
- "customerVet": {
- "clientVetId": "1545",
- "vetName": "Anne Peddon",
- "clinicName": "BOSSIER ANIMAL HOSPITAL",
- "vetAddress": "3308 INDUSTRIAL DRIVE",
- "vetPhone": "3187467821",
- "vetCity": "GENESEO",
- "vetState": "NY",
- "vetPostalCode": "14454",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}, - "customerPet": {
- "clientPetId": "54685",
- "petName": "Lovely",
- "petType": "Dog",
- "petBreed": "Labrador Retriever Dog",
- "petGender": "M",
- "petAge": "10+ years",
- "petDateOfBirth": "01/26/2008",
- "petWeight": 95.5,
- "medicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "medicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "medicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation",
- "isPregnant": "Y",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}, - "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
This endpoint will allow you to Update order.
Order to be updated.
Success
Bad Request
Not Found
{- "clientId": "DropshipClient",
- "clientOrderId": "26849758",
- "customerId": "johndoe@gmail.com",
- "customerKeyId": "ac11JDiERGcI32X3ILwjahBAYM",
- "salesOrderDate": "2014-02-23T20:01:08-08:00",
- "shippingMethod": "GRND",
- "billToName": "John Doe",
- "billToAddress": "23200 Summer Glenn",
- "billToCity": "Harbor City",
- "billToState": "CA",
- "billToPostalCode": "90717",
- "billToCountry": "US",
- "billToPhone": "4245673448",
- "shipToAddressId": "ac1aJDiERGcI32X3ILwjahBAYM",
- "shipToName": "John Doe",
- "shipToAddress": "23200 Summer Glenn",
- "shipToCity": "Harbor City",
- "shipToState": "CA",
- "shipToPostalCode": "90717",
- "shipToCountry": "US",
- "shipToPhone": "4245673448",
- "isAutoship": "N",
- "isReship": "N",
- "reasonCode": "0",
- "originalClientOrderId": "0",
- "customerSalesOrderDetail": [
- {
- "clientItemId": "5303207",
- "itemName": "25639-1",
- "lineNum": 1,
- "quantityOrdered": 100,
- "itemDescription": "Apoquel Tablet",
- "salesPrice": 2.31,
- "howDoWeGetYourRx": "0",
- "customerVet": {
- "clientVetId": "1545",
- "vetName": "Anne Peddon",
- "clinicName": "BOSSIER ANIMAL HOSPITAL",
- "vetAddress": "3308 INDUSTRIAL DRIVE",
- "vetPhone": "3187467821",
- "vetCity": "GENESEO",
- "vetState": "NY",
- "vetPostalCode": "14454"
}, - "customerPet": {
- "clientPetId": "54685",
- "petName": "Lovely",
- "petType": "Dog",
- "petBreed": "Labrador Retriever Dog",
- "petGender": "M",
- "petAge": "6-7 years",
- "petDateOfBirth": "3/9/2009",
- "petWeight": 95.5,
- "medicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "medicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "medicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation",
- "isPregnant": "N"
}
}
]
}
{- "salesOrderCode": "SO-2182630",
- "clientId": "DropshipClient",
- "clientOrderId": "26849758",
- "customerId": "johndoe@gmail.com",
- "customerKeyId": "ac11JDiERGcI32X3ILwjahBAYM",
- "salesOrderDate": "2014-02-23T20:01:08-08:00",
- "shippingMethod": "Allivet Shipping",
- "billToName": "John Doe",
- "billToAddress": "23200 Summer Glenn",
- "billToCity": "Harbor City",
- "billToState": "CA",
- "billToPostalCode": "90717",
- "billToCountry": "US",
- "billToPhone": "4245673448",
- "shipToAddressId": "ac1aJDiERGcI32X3ILwjahBAYM",
- "shipToName": "John Doe",
- "shipToAddress": "23200 Summer Glenn",
- "shipToCity": "Harbor City",
- "shipToState": "CA",
- "shipToPostalCode": "90717",
- "shipToCountry": "US",
- "shipToPhone": "4245673448",
- "subTotal": 44.18,
- "freight": 48.2,
- "freightTax": 48.2,
- "tax": 20.9,
- "total": 57.09,
- "isAutoship": "Y",
- "isReship": "N",
- "reasonCode": "0",
- "originalClientOrderId": "N/A",
- "orderStatus": "Waiting for Rx",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000",
- "customerSalesOrderDetail": [
- {
- "clientItemId": "5303207",
- "itemName": "25639-1",
- "lineNum": 1,
- "quantityOrdered": 100,
- "itemDescription": "Apoquel Tablet",
- "salesTaxAmount": 2.31,
- "salesPrice": 2.31,
- "netPrice": 2.31,
- "extPrice": 2.31,
- "couponDiscount": 2.31,
- "weightInPounds": 2.31,
- "netWeightInPounds": 2.31,
- "howdowegetyourRxC": "0",
- "customerVet": {
- "clientVetId": "1545",
- "vetName": "Anne Peddon",
- "clinicName": "BOSSIER ANIMAL HOSPITAL",
- "vetAddress": "3308 INDUSTRIAL DRIVE",
- "vetPhone": "3187467821",
- "vetCity": "GENESEO",
- "vetState": "NY",
- "vetPostalCode": "14454",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}, - "customerPet": {
- "clientPetId": "54685",
- "petName": "Lovely",
- "petType": "Dog",
- "petBreed": "Labrador Retriever Dog",
- "petGender": "M",
- "petAge": "10+ years",
- "petDateOfBirth": "01/26/2008",
- "petWeight": 95.5,
- "medicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "medicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "medicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation",
- "isPregnant": "Y",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}, - "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
This endpoint will allow you to Cancels an order based on the provided External Order ID.
Order Successfully Voided!
Bad Request
The Order not found.
{- "errormessage": "string",
- "statuscode": "string",
- "statusmessage": "string"
}
This endpoint will allow you to get specific customer information. You may pass URL parameters to these endpoints to navigate to a specific customer by providing the unique id of the customer.
Return customer.
Customer id not informed.
Customer not found.
{- "customerGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "email": "johndoe@gmail.com",
- "clientCustomerNo": "ACS-123456",
- "clientAutoshipId": "437451",
- "clientRxId": "7451",
- "clientReorderId": "4374",
- "clientCustomerId": "56437451",
- "firstName": "John",
- "middleName": "Mid",
- "lastName": "Doe",
- "customerName": "John Doe",
- "mobile": "4245673448",
- "isOkToReceiveEmail": "Y",
- "perksIDNumber": "9587854712",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000",
- "customerBilling": [
- {
- "addressCode": "CCARD-0031956",
- "isPrimary": "Y",
- "addressId": "123456",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "customerShipTo": [
- {
- "addressCode": "SHIP-1737794",
- "isPrimary": "Y",
- "addressId": "123456",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
This endpoint allows you to register a new customer from your site. Email Address should be unique per customer.
The Customer properties.
The customer was created with warnings.
The customer has an invalid format.
{- "email": "johndoe@gmail.com",
- "clientCustomerNo": "ACS-123456",
- "clientAutoshipId": "437451",
- "clientRxId": "7451",
- "clientReorderId": "4374",
- "clientCustomerId": "56437",
- "firstName": "John",
- "middleName": "Mid",
- "lastName": "Doe",
- "customerName": "John Doe",
- "billToAddressId": "123456",
- "billToAddress": "23200 Summer Glenn",
- "billToCity": "Harbor City",
- "billToState": "CA",
- "billToPostalCode": "90717",
- "billToCountry": "US",
- "billToPhone": "4245673448",
- "customerShipTo": [
- {
- "shipToAddressId": "123456",
- "shipToName": "John Doe",
- "shipToAddress": "23200 Summer Glenn",
- "shipToCity": "Harbor City",
- "shipToState": "CA",
- "shipToPostalCode": "90717",
- "shipToCountry": "US",
- "shipToPhone": "4245673448",
- "isPrimary": "Y"
}
], - "password": "Abcdef123456",
- "isOkToReceiveEmail": "Y",
- "perksIDNumber": "9587854712"
}
{- "customerGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "email": "johndoe@gmail.com",
- "clientCustomerNo": "ACS-123456",
- "clientAutoshipId": "437451",
- "clientRxId": "7451",
- "clientReorderId": "4374",
- "clientCustomerId": "56437451",
- "firstName": "John",
- "middleName": "Mid",
- "lastName": "Doe",
- "customerName": "John Doe",
- "mobile": "4245673448",
- "isOkToReceiveEmail": "Y",
- "perksIDNumber": "9587854712",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000",
- "customerBilling": [
- {
- "addressCode": "CCARD-0031956",
- "isPrimary": "Y",
- "addressId": "123456",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "customerShipTo": [
- {
- "addressCode": "SHIP-1737794",
- "isPrimary": "Y",
- "addressId": "123456",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
This endpoint allows you to update customer information. You may pass URL parameters to these endpoints to update a specific customer.
The Customer properties.
The customer was created with warnings.
The customer has an invalid format.
{- "firstName": "John",
- "lastName": "Doe",
- "telephone": "4245673448",
- "email": "johndoe@gmail.com",
- "clientAutoshipId": "437451",
- "clientRxId": "7451",
- "clientReorderId": "4374",
- "clientCustomerId": "56437451",
- "mobile": "4245673448",
- "isOkToReceiveEmail": "Y",
- "perksIDNumber": "9587854712"
}
{- "customerGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "email": "johndoe@gmail.com",
- "clientCustomerNo": "ACS-123456",
- "clientAutoshipId": "437451",
- "clientRxId": "7451",
- "clientReorderId": "4374",
- "clientCustomerId": "56437451",
- "firstName": "John",
- "middleName": "Mid",
- "lastName": "Doe",
- "customerName": "John Doe",
- "mobile": "4245673448",
- "isOkToReceiveEmail": "Y",
- "perksIDNumber": "9587854712",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000",
- "customerBilling": [
- {
- "addressCode": "CCARD-0031956",
- "isPrimary": "Y",
- "addressId": "123456",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "customerShipTo": [
- {
- "addressCode": "SHIP-1737794",
- "isPrimary": "Y",
- "addressId": "123456",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
This endpoint allows you to add new billing/shipping address and assign it as primary billing/shipping address of the customer.
The Customer Address properties.
The customer address was created successfully.
Success
The Customer address has invalid format.
{- "addressType": "Billing",
- "isPrimary": "Y",
- "addressId": "123456",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448"
}
{- "clientCustomerNo": "123456",
- "address": [
- {
- "addressType": "Billing",
- "addressCode": "CCARD-0031956",
- "addressId": "123456",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
]
}
This endpoint allows you to assign primary billing/shipping address of the customer.
Address properties.
The customer address was updated successfully.
The Customer address has invalid format.
The Customer address not found.
{- "addressType": "Billing",
- "isPrimary": "Y",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448"
}
{- "clientCustomerNo": "123456",
- "address": [
- {
- "addressType": "Billing",
- "addressCode": "CCARD-0031956",
- "addressId": "123456",
- "name": "John Doe",
- "address": "23200 Summer Glenn",
- "city": "Harbor City",
- "state": "CA",
- "postalCode": "90717",
- "country": "US",
- "phone": "4245673448",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
]
}
This endpoint allows you to delete billing/shipping address of the customer.
The customer address was deleted successfully.
The Customer address has invalid format.
The Customer address not found.
{- "clientCustomerNo": "123456",
- "address": [
- null
]
}
This endpoint allows you to register a new vet. You may pass URL parameters to these endpoints to add vet to a specific customer.
Veterinarian data.
The vet was created successfully.
Success
The vet has an invalid format.
{- "clientVetId": "89742",
- "vetName": "Anne Peddon",
- "clinicName": "BOSSIER ANIMAL HOSPITAL",
- "vetPhone": "4245689898",
- "vetCity": "GENESEO",
- "vetState": "NY",
- "vetPostalCode": "14454",
- "cbExternalCode": ""
}
{- "clientCustomerNo": "string",
- "customerVet": {
- "clientVetId": "string",
- "vetId": 0,
- "vetName": "string",
- "clinicName": "string",
- "vetPhone": "string",
- "vetCity": "string",
- "vetState": "string",
- "vetPostalCode": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z"
}, - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
This endpoint allows you to remove a vet linked to a specific customer. You may pass URL parameters to these endpoints to remove a vet from a specific customer.
The customer vet was deleted successfully.
Bad Request
The Customer vet not found.
{- "clientCustomerNo": "string",
- "customerVet": {
- "clientVetId": "string",
- "vetId": 0,
- "vetName": "string",
- "clinicName": "string",
- "vetPhone": "string",
- "vetCity": "string",
- "vetState": "string",
- "vetPostalCode": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z"
}, - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
This endpoint will allow you to register a new pet to a specific customer. You may pass URL parameters to these endpoints to add a pet to a specific customer.
pet properties.
The pet was created successfully.
Bad Request
The Customer not found.
{- "clientPetId": "123456",
- "petName": "Lovely",
- "petOwner": "John Doe",
- "petType": "Bird",
- "petBreed": "Labrador Retriever Dog",
- "specialType": "Alligators",
- "petGender": "F",
- "petAge": "6-7 years",
- "petDateOfBirth": "03/09/2009",
- "petWeight": 95.5,
- "medicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "medicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "medicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation.",
- "isPregnant": "Y",
- "isDeceased": "N",
- "image": ""
}
{- "clientCustomerNo": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "customerPet": [
- {
- "petId": 1234565,
- "clientPetId": "123456",
- "petName": "Lovely",
- "petOwner": "John Doe",
- "petType": "Bird",
- "petBreed": "Labrador Retriever Dog",
- "specialType": "Alligators",
- "petGender": "F",
- "petAge": "6-7 years",
- "petDateOfBirth": "3/9/2009",
- "petWeight": 95.5,
- "medicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "medicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "medicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation.",
- "isPregnant": "Y",
- "isDeceased": "N",
- "image": "",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
This endpoint will allow you to update specific pet information of the customer. You may pass URL parameters to these endpoints to update pet information of a specific customer.
pet properties.
The pet was updated successfully.
Bad Request
The Customer Pet not found.
{- "petName": "Lovely",
- "petOwner": "John Doe",
- "petType": "Bird",
- "petBreed": "Labrador Retriever Dog",
- "specialType": "Alligators",
- "petGender": "F",
- "petAge": "6-7 years",
- "petDateOfBirth": "03/09/2009",
- "petWeight": 95.5,
- "medicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "medicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "medicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation.",
- "isPregnant": "Y",
- "isDeceased": "N",
- "image": ""
}
{- "clientCustomerNo": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "customerPet": [
- {
- "petId": 1234565,
- "clientPetId": "123456",
- "petName": "Lovely",
- "petOwner": "John Doe",
- "petType": "Bird",
- "petBreed": "Labrador Retriever Dog",
- "specialType": "Alligators",
- "petGender": "F",
- "petAge": "6-7 years",
- "petDateOfBirth": "3/9/2009",
- "petWeight": 95.5,
- "medicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "medicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "medicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation.",
- "isPregnant": "Y",
- "isDeceased": "N",
- "image": "",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}
], - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
This endpoint will allow you to delete specific pet information of the customer. You may pass URL parameters to these endpoints to delete pet information of specific customer.
The customer pet was deleted successfully.
Bad Request
The Customer pet not found.
{- "clientCustomerNo": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "customerPet": {
- "petId": 1234565,
- "clientPetId": "123456",
- "petName": "Lovely",
- "petOwner": "John Doe",
- "petType": "Bird",
- "petBreed": "Labrador Retriever Dog",
- "specialType": "Alligators",
- "petGender": "F",
- "petAge": "6-7 years",
- "petDateOfBirth": "3/9/2009",
- "petWeight": 95.5,
- "medicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "medicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "medicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation.",
- "isPregnant": "Y",
- "isDeceased": "N",
- "image": "",
- "dateCreated": "2020-12-20T04:18:43.0000000",
- "dateModified": "2020-12-20T04:18:43.0000000"
}, - "warnings": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "statusCode": 200
}
Retrieves customer prescriptions based on the provided customer ID and prescription status.
Success
Bad Request
The Customer prescription not found.
{- "ClientId": "PetSmart",
- "CustomerId": "ACS-123456",
- "Data": [
- {
- "PrescriptionId": "86704",
- "PrescriptionName": "Prednisolone 20 mg Tablet",
- "ExpirationDate": "2024-02-05 17:18:50.050",
- "RefillsLeft": "11",
- "CustomerVet": {
- "ClientVetId": "1545",
- "VetName": "Anne Peddon",
- "ClinicName": "BOSSIER ANIMAL HOSPITAL",
- "VetAddress": "3308 INDUSTRIAL DRIVE",
- "VetPhone": "4256789554",
- "VetCity": "Harbor City",
- "VetState": "CA",
- "VetPostalCode": "90717",
- "dateCreated": "2021-02-05 20:09:32.023",
- "dateModified": "2021-02-05 20:09:32.023"
}, - "CustomerPet": {
- "ClientPetId": "54685",
- "PetName": "Lovely",
- "PetType": "Dog",
- "PetBreed": "Labrador Retriever Dog",
- "PetGender": "F",
- "PetAge": "10+ years",
- "PetDateOfBirth": "01/26/2008",
- "PetWeight": "95.5",
- "MedicalAllergies": "Sentinel made her have skin lesions and caused behavior. Doctor is aware of this.",
- "MedicationIsTaking": "Prednisone Tabs 5mg, Methocarbamol Tabs 500mg.",
- "MedicalConditions": "Antibiotic for stomach issue; medicated shampoo for skin irritation",
- "IsPregnant": "Y",
- "dateCreated": "2021-02-05 20:09:32.023",
- "dateModified": "2021-02-05 20:09:32.023"
}
}
]
}