From 0ed6c7c5557688244de16bd376fe077469d7f6ca Mon Sep 17 00:00:00 2001 From: Holly <99987524+hollyabrams@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:01:01 -0400 Subject: [PATCH] Add Ontrac V3 carrier curl (#149) --- .../guides/create-carrier-curls/ontracv3.sh | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 official/guides/create-carrier-curls/ontracv3.sh diff --git a/official/guides/create-carrier-curls/ontracv3.sh b/official/guides/create-carrier-curls/ontracv3.sh new file mode 100644 index 00000000..9da96c9b --- /dev/null +++ b/official/guides/create-carrier-curls/ontracv3.sh @@ -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" + } + } +}'