File tree Expand file tree Collapse file tree 2 files changed +26
-22
lines changed
official/docs/curl/current/endshipper Expand file tree Collapse file tree 2 files changed +26
-22
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,18 @@ curl -X POST https://api.easypost.com/v2/end_shippers \
22 -u " EASYPOST_API_KEY" : \
33 -H ' Content-Type: application/json' \
44 -d ' {
5- "address": {
6- "name": "FOO BAR",
7- "company": "BAZ",
8- "street1": "164 TOWNSEND STREET UNIT 1",
9- "street2": "UNIT 1",
10- "city": "SAN FRANCISCO",
11- "state": "CA",
12- "zip": "94107",
13- "country": "US",
14- "phone": "555-555-5555",
15- "email": "FOO@EXAMPLE.COM"
5+ "end_shipper": {
6+ "address": {
7+ "name": "FOO BAR",
8+ "company": "BAZ",
9+ "street1": "164 TOWNSEND STREET UNIT 1",
10+ "street2": "UNIT 1",
11+ "city": "SAN FRANCISCO",
12+ "state": "CA",
13+ "zip": "94107",
14+ "country": "US",
15+ "phone": "555-555-5555",
16+ "email": "FOO@EXAMPLE.COM"
17+ }
1618 }
1719 }'
Original file line number Diff line number Diff line change @@ -2,16 +2,18 @@ curl -X PUT https://api.easypost.com/v2/end_shippers/es_... \
22 -u " EASYPOST_API_KEY" : \
33 -H ' Content-Type: application/json' \
44 -d ' {
5- "address": {
6- "name": "NEW NAME",
7- "company": "BAZ",
8- "street1": "164 TOWNSEND STREET UNIT 1",
9- "street2": "UNIT 1",
10- "city": "SAN FRANCISCO",
11- "state": "CA",
12- "zip": "94107",
13- "country": "US",
14- "phone": "555-555-5555",
15- "email": "FOO@EXAMPLE.COM"
5+ "end_shipper": {
6+ "address": {
7+ "name": "NEW NAME",
8+ "company": "BAZ",
9+ "street1": "164 TOWNSEND STREET UNIT 1",
10+ "street2": "UNIT 1",
11+ "city": "SAN FRANCISCO",
12+ "state": "CA",
13+ "zip": "94107",
14+ "country": "US",
15+ "phone": "555-555-5555",
16+ "email": "FOO@EXAMPLE.COM"
17+ }
1618 }
1719 }'
You can’t perform that action at this time.
0 commit comments