Carrier accounts
The carrier account object and the allowed CRUD operations on the related resource endpoint
Setting up a carrier account
curl -g -X GET \
'https://core.commercelayer.io/api/public/schemas/carrier_accounts' \
-H 'Content-Type: application/vnd.api+json'
{
"data": [
{
"object": "CarrierType",
"type": "AccurateAccount",
"readable": "Accurate",
"logo": null,
"fields": {
"credentials": {
"username": {
"visibility": "visible",
"label": "Accurate username"
},
"password": {
"visibility": "password",
"label": "Accurate password"
}
},
"test_credentials": {
"username": {
"visibility": "visible",
"label": "Accurate test username"
},
"password": {
"visibility": "password",
"label": "Accurate test password"
}
}
}
},
{
"object": "CarrierType",
"type": "AmazonMwsAccount",
"readable": "Amazon MWS",
"logo": null,
"fields": {
"credentials": {
"access_key_id": {
"visibility": "visible",
"label": "AWS Access Key ID"
},
"secret_key": {
"visibility": "password",
"label": "Secret Key"
},
"merchant_id": {
"visibility": "visible",
"label": "Seller ID"
}
}
}
},
{ ... }
]
}Last updated