Skip to content

Commit

Permalink
create ontracv3, rover, sway carrier curls
Browse files Browse the repository at this point in the history
  • Loading branch information
hollyabrams committed Sep 10, 2024
1 parent a97feaa commit 83e34cd
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions official/guides/create-carrier-curls/ontracv3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ curl -X POST https://api.easypost.com/v2/carrier_accounts \
"injection_city": "VALUE",
"injection_contact": "VALUE",
"injection_country": "VALUE",
"injection_facility_code": "VALUE",
"injection_instruction": "VALUE",
"injection_phone": "VALUE",
"injection_state": "VALUE",
Expand Down
17 changes: 17 additions & 0 deletions official/guides/create-carrier-curls/rover.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
curl -X POST https://api.easypost.com/v2/carrier_accounts \
-u "$EASYPOST_API_KEY": \
-H 'Content-Type: application/json' \
-d '{
"type": "RoverAccount",
"description": "RoverAccount",
"carrier_account": {
"credentials": {
"password": "VALUE",
"username": "VALUE"
},
"test_credentials": {
"password": "VALUE",
"username": "VALUE"
}
}
}'
15 changes: 15 additions & 0 deletions official/guides/create-carrier-curls/sway.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
curl -X POST https://api.easypost.com/v2/carrier_accounts \
-u "$EASYPOST_API_KEY": \
-H 'Content-Type: application/json' \
-d '{
"type": "SwayAccount",
"description": "SwayAccount",
"carrier_account": {
"credentials": {
"api_key": "VALUE"
},
"test_credentials": {
"api_key": "VALUE"
}
}
}'

0 comments on commit 83e34cd

Please sign in to comment.