Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test for getting a customer and creating a customer.
- Loading branch information
1 parent
516d76c
commit 932f939
Showing
2 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"customer": { | ||
"accepts_marketing": false, | ||
"created_at": "2015-05-27T18:11:24-04:00", | ||
"email": "bob.norman@hostmail.com", | ||
"first_name": "Bob", | ||
"id": 207119551, | ||
"last_name": "Norman", | ||
"last_order_id": 450789469, | ||
"multipass_identifier": null, | ||
"note": null, | ||
"orders_count": 1, | ||
"state": "disabled", | ||
"tax_exempt": false, | ||
"total_spent": "41.94", | ||
"updated_at": "2015-05-27T18:11:24-04:00", | ||
"verified_email": true, | ||
"tags": "", | ||
"last_order_name": "#1001", | ||
"default_address": { | ||
"address1": "Chestnut Street 92", | ||
"address2": "", | ||
"city": "Louisville", | ||
"company": null, | ||
"country": "United States", | ||
"first_name": null, | ||
"id": 207119551, | ||
"last_name": null, | ||
"phone": "555-625-1199", | ||
"province": "Kentucky", | ||
"zip": "40202", | ||
"name": "", | ||
"province_code": "KY", | ||
"country_code": "US", | ||
"country_name": "United States", | ||
"default": true | ||
}, | ||
"addresses": [ | ||
{ | ||
"address1": "Chestnut Street 92", | ||
"address2": "", | ||
"city": "Louisville", | ||
"company": null, | ||
"country": "United States", | ||
"first_name": null, | ||
"id": 207119551, | ||
"last_name": null, | ||
"phone": "555-625-1199", | ||
"province": "Kentucky", | ||
"zip": "40202", | ||
"name": "", | ||
"province_code": "KY", | ||
"country_code": "US", | ||
"country_name": "United States", | ||
"default": true | ||
} | ||
] | ||
} | ||
} |