Skip to content

Commit

Permalink
Merge pull request #161 from hollyabrams/create-carrier-curls
Browse files Browse the repository at this point in the history
create ontracv3, rover, sway carrier curls
  • Loading branch information
Justintime50 authored Sep 10, 2024
2 parents a97feaa + 83e34cd commit f702a4a
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 f702a4a

Please sign in to comment.