Skip to content

Commit

Permalink
Add Ontrac V3 carrier curl (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
hollyabrams authored Aug 9, 2024
1 parent 6d4461c commit 0ed6c7c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions official/guides/create-carrier-curls/ontracv3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
curl -X POST https://api.easypost.com/v2/carrier_accounts \
-u "EASYPOST_API_KEY": \
-H 'Content-Type: application/json' \
-d '{
"carrier_account": {
"type": "OntracV3Account",
"description": "OntracV3Account",
"credentials": {
"api_key": "VALUE",
"api_id": "VALUE",
"facility": "VALUE",
"injection_contact": "VALUE",
"injection_street1": "VALUE",
"injection_street2": "VALUE",
"injection_city": "VALUE",
"injection_state": "VALUE",
"injection_zip": "VALUE",
"injection_country": "VALUE",
"injection_phone": "VALUE",
"injection_instruction": "VALUE"
}
}
}'

0 comments on commit 0ed6c7c

Please sign in to comment.