This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
curl --location -g --request POST '{{subdomain}}/api2/api2/staff.json' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: text/plain' \
--data-raw '{
"Staff": {
"name": "Michael Johnson",
"role_id": 1,
"email_address": "michael.johnson@example.com",
"password": "securepassword",
"mobile": "555-7890",
"country_code": "US",
"hourly_rate": 45.00,
"hourly_rate_currency_code": "USD",
"default_store_id": 1,
"default_treasury_id": 1,
"language_code": "en"
}
}'
{}