Skip to content

Commit caf7b81

Browse files
committed
Add customer-2 json response
1 parent 263dc79 commit caf7b81

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

Networking/Networking.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@
324324
57BE08D82409B63800F6DCED /* reviews-missing-avatar-urls.json in Resources */ = {isa = PBXBuildFile; fileRef = 57BE08D72409B63700F6DCED /* reviews-missing-avatar-urls.json */; };
325325
57E8FED3246616AC0057CD68 /* Result+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57E8FED2246616AC0057CD68 /* Result+Extensions.swift */; };
326326
6647C0161DAC6AB6570C53A7 /* Pods_Networking.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F3F25DC15EC1D7C631169CB5 /* Pods_Networking.framework */; };
327+
688908AE28FF920C0081A07E /* customer-2.json in Resources */ = {isa = PBXBuildFile; fileRef = 688908AD28FF920C0081A07E /* customer-2.json */; };
327328
68BD37B328D9B8BD00C2A517 /* CustomerRemoteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68BD37B228D9B8BD00C2A517 /* CustomerRemoteTests.swift */; };
328329
68C87B342862D40E00A99054 /* setting-all-except-countries.json in Resources */ = {isa = PBXBuildFile; fileRef = 68C87B332862D40E00A99054 /* setting-all-except-countries.json */; };
329330
68CB800C28D87BC800E169F8 /* Customer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68CB800B28D87BC800E169F8 /* Customer.swift */; };
@@ -1024,6 +1025,7 @@
10241025
5726F7332460A8F00031CAAC /* CopiableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CopiableTests.swift; sourceTree = "<group>"; };
10251026
57BE08D72409B63700F6DCED /* reviews-missing-avatar-urls.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "reviews-missing-avatar-urls.json"; sourceTree = "<group>"; };
10261027
57E8FED2246616AC0057CD68 /* Result+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Result+Extensions.swift"; sourceTree = "<group>"; };
1028+
688908AD28FF920C0081A07E /* customer-2.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = "customer-2.json"; sourceTree = "<group>"; };
10271029
68BD37B228D9B8BD00C2A517 /* CustomerRemoteTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomerRemoteTests.swift; sourceTree = "<group>"; };
10281030
68C87B332862D40E00A99054 /* setting-all-except-countries.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = "setting-all-except-countries.json"; sourceTree = "<group>"; };
10291031
68CB800B28D87BC800E169F8 /* Customer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Customer.swift; sourceTree = "<group>"; };
@@ -2124,6 +2126,7 @@
21242126
68C87B332862D40E00A99054 /* setting-all-except-countries.json */,
21252127
68CB801528D8A39700E169F8 /* customer.json */,
21262128
68F48B1228E3E5750045C15B /* wc-analytics-customers.json */,
2129+
688908AD28FF920C0081A07E /* customer-2.json */,
21272130
);
21282131
path = Responses;
21292132
sourceTree = "<group>";
@@ -2553,6 +2556,7 @@
25532556
D823D91422377EE600C90817 /* shipment_tracking_providers.json in Resources */,
25542557
4599FC5C24A6276F0056157A /* product-tags-all.json in Resources */,
25552558
03DCB77E262738E300C8953D /* coupon.json in Resources */,
2559+
688908AE28FF920C0081A07E /* customer-2.json in Resources */,
25562560
034480C327A42F9100DFACD2 /* order-with-charge.json in Resources */,
25572561
74A7B4BE217A841400E85A8B /* broken-settings-general.json in Resources */,
25582562
026CF624237D839B009563D4 /* product-variations-load-all.json in Resources */,
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"data": {
3+
"id": 26,
4+
"date_created": "2017-03-21T16:09:28",
5+
"date_created_gmt": "2017-03-21T19:09:28",
6+
"date_modified": "2017-03-21T16:09:30",
7+
"date_modified_gmt": "2017-03-21T19:09:30",
8+
"email": "[email protected]",
9+
"first_name": "Johnny",
10+
"last_name": "Doe",
11+
"role": "customer",
12+
"username": "johnny.doe",
13+
"billing": {
14+
"first_name": "John",
15+
"last_name": "Doe",
16+
"company": "",
17+
"address_1": "969 Market",
18+
"address_2": "",
19+
"city": "San Francisco",
20+
"state": "CA",
21+
"postcode": "94103",
22+
"country": "US",
23+
"email": "[email protected]",
24+
"phone": "(555) 555-5555"
25+
},
26+
"shipping": {
27+
"first_name": "John",
28+
"last_name": "Doe",
29+
"company": "",
30+
"address_1": "969 Market",
31+
"address_2": "",
32+
"city": "San Francisco",
33+
"state": "CA",
34+
"postcode": "94103",
35+
"country": "US"
36+
},
37+
"is_paying_customer": false,
38+
"avatar_url": "https://secure.gravatar.com/avatar/8eb1b522f60d11fa897de1dc6351b7e8?s=96",
39+
"meta_data": [],
40+
"_links": {
41+
"self": [
42+
{
43+
"href": "https://example.com/wp-json/wc/v3/customers/25"
44+
}
45+
],
46+
"collection": [
47+
{
48+
"href": "https://example.com/wp-json/wc/v3/customers"
49+
}
50+
]
51+
}
52+
}
53+
}
54+
55+

0 commit comments

Comments
 (0)