Skip to content

Commit

Permalink
Fix: updated FedEx carrier curl
Browse files Browse the repository at this point in the history
  • Loading branch information
hollyabrams committed Nov 18, 2024
1 parent 322667d commit 5e51c81
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions official/guides/create-carrier-curls/fedex.sh
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
curl -X POST https://api.easypost.com/v2/carrier_accounts/register \
-u "$EASYPOST_API_KEY": \
curl -X POST https://api.easypost.com/v2/carrier_accounts \
-u "EASYPOST_PRODUCTION_API_KEY: \
-H 'Content-Type: application/json' \
-d '{
"type": "FedexAccount",
"description": "FedexAccount",
"registration_data": {
"shipping_city": "VALUE",
"shipping_country_code": "VALUE",
"shipping_postal_code": "VALUE",
"shipping_state": "VALUE",
"shipping_streets": "VALUE",
"corporate_city": "VALUE",
"corporate_company_name": "VALUE",
"corporate_country_code": "VALUE",
"corporate_email_address": "VALUE",
"corporate_first_name": "VALUE",
"corporate_job_title": "VALUE",
"corporate_last_name": "VALUE",
"corporate_phone_number": "VALUE",
"corporate_postal_code": "VALUE",
"corporate_state": "VALUE",
"corporate_streets": "VALUE",
"account_number": "VALUE"
}
}'
"carrier_account": {
"type": "FedexAccount",
"description": "Description",
"reference": "Reference",
"credentials": {
"shipping_city": "VALUE",
"shipping_country_code": "VALUE",
"shipping_postal_code": "VALUE",
"shipping_state": "VALUE",
"shipping_streets": "VALUE",
"corporate_city": "VALUE",
"corporate_company_name": "VALUE",
"corporate_country_code": "VALUE",
"corporate_email_address": "VALUE",
"corporate_first_name": "VALUE",
"corporate_job_title": "VALUE",
"corporate_last_name": "VALUE",
"corporate_phone_number": "VALUE",
"corporate_postal_code": "VALUE",
"corporate_state": "VALUE",
"corporate_streets": "VALUE",
"account_number": "VALUE"
}
}
}'

0 comments on commit 5e51c81

Please sign in to comment.