curl --location -g --request POST '{{BASE_URL}}/admin/regions' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"currency_code": "usd",
"automatic_taxes": true,
"is_tax_inclusive": true,
"metadata": {},
"countries": [
"us"
],
"payment_providers": [
"pp_stripe_stripe"
]
}'
{
"region": {
"id": "string",
"name": "string",
"currency_code": "usd",
"automatic_taxes": true,
"countries": [
{
"id": "string",
"iso_2": "us",
"iso_3": "usa",
"num_code": 840,
"name": "string",
"display_name": "string"
}
],
"payment_providers": [
{
"id": "string",
"is_enabled": true
}
],
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.