diff --git a/official/guides/create-carrier-curls/ehub.sh b/official/guides/create-carrier-curls/ehub.sh new file mode 100644 index 00000000..38815721 --- /dev/null +++ b/official/guides/create-carrier-curls/ehub.sh @@ -0,0 +1,15 @@ +curl -X POST https://api.easypost.com/v2/carrier_accounts \ + -u "$EASYPOST_API_KEY": \ + -H 'Content-Type: application/json' \ + -d '{ + "carrier_account": { + "type": "EhubAccount", + "description": "EhubAccount", + "credentials": { + "api_key": "VALUE" + }, + "test_credentials": { + "api_key": "VALUE" + } + } +}' diff --git a/official/guides/create-carrier-curls/estafeta.sh b/official/guides/create-carrier-curls/estafeta.sh index d6b1930e..c6015078 100644 --- a/official/guides/create-carrier-curls/estafeta.sh +++ b/official/guides/create-carrier-curls/estafeta.sh @@ -6,8 +6,30 @@ curl -X POST https://api.easypost.com/v2/carrier_accounts \ "type": "EstafetaAccount", "description": "EstafetaAccount", "credentials": { + "buy_api_key": "VALUE", + "buy_client_id": "VALUE", + "buy_client_secret": "VALUE", "customer_number": "VALUE", - "hub_id": "VALUE" + "hub_id": "VALUE", + "rate_api_key": "VALUE", + "rate_client_id": "VALUE", + "rate_client_secret": "VALUE", + "track_api_key": "VALUE", + "track_client_id": "VALUE", + "track_client_secret": "VALUE" + }, + "test_credentials": { + "buy_api_key": "VALUE", + "buy_client_id": "VALUE", + "buy_client_secret": "VALUE", + "customer_number": "VALUE", + "hub_id": "VALUE", + "rate_api_key": "VALUE", + "rate_client_id": "VALUE", + "rate_client_secret": "VALUE", + "track_api_key": "VALUE", + "track_client_id": "VALUE", + "track_client_secret": "VALUE" } } }' diff --git a/official/guides/create-carrier-curls/p2p.sh b/official/guides/create-carrier-curls/p2p.sh new file mode 100644 index 00000000..dd7fcd4f --- /dev/null +++ b/official/guides/create-carrier-curls/p2p.sh @@ -0,0 +1,19 @@ +curl -X POST https://api.easypost.com/v2/carrier_accounts \ + -u "$EASYPOST_API_KEY": \ + -H 'Content-Type: application/json' \ + -d '{ + "carrier_account": { + "type": "P2PAccount", + "description": "P2PAccount", + "credentials": { + "api_key": "VALUE", + "customer_id": "VALUE", + "username": "VALUE" + }, + "test_credentials": { + "api_key": "VALUE", + "customer_id": "VALUE", + "username": "VALUE" + } + } +}'