File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
official/guides/create-carrier-curls Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ curl -X POST https://api.easypost.com/v2/carrier_accounts \
2+ -u " $EASYPOST_API_KEY " : \
3+ -H ' Content-Type: application/json' \
4+ -d ' {
5+ "type": "AmazonShippingAccount",
6+ "description": "AmazonShippingAccount",
7+ "carrier_account": {
8+ "credentials": {
9+ "account_number": "VALUE",
10+ "partner_oauth_url": "VALUE",
11+ "refresh_token": "VALUE"
12+ }
13+ }
14+ }'
Original file line number Diff line number Diff line change 1+ curl -X POST https://api.easypost.com/v2/carrier_accounts \
2+ -u " $EASYPOST_API_KEY " : \
3+ -H ' Content-Type: application/json' \
4+ -d ' {
5+ "type": "RoyalMailV3Account",
6+ "description": "RoyalMailV3Account",
7+ "carrier_account": {
8+ "credentials": {
9+ "account_number": "VALUE",
10+ "contact_name": "VALUE",
11+ "contact_phone": "VALUE",
12+ "dispatch_city": "VALUE",
13+ "dispatch_country": "VALUE",
14+ "dispatch_state": "VALUE",
15+ "dispatch_street1": "VALUE",
16+ "dispatch_street2": "VALUE",
17+ "dispatch_zip": "VALUE",
18+ "internal_location_id": "VALUE",
19+ "oba_access_code": "VALUE",
20+ "oba_email_address": "VALUE",
21+ "posting_location_number": "VALUE"
22+ }
23+ }
24+ }'
You can’t perform that action at this time.
0 commit comments