curl --request POST \
--url https://api.example.com/environments/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-environment: <x-environment>' \
--data '
{
"handles": {
"invoicePrefix": "<string>",
"customerPrefix": "<string>",
"subscriptionPrefix": "<string>"
},
"invoice": {
"seed": 123
},
"paymentTerm": {
"defaultTerm": "<string>"
}
}
'{
"handles": {
"invoicePrefix": "<string>",
"customerPrefix": "<string>",
"subscriptionPrefix": "<string>"
},
"invoice": {
"seed": 123
},
"paymentTerm": {
"defaultTerm": "<string>"
}
}Update environment settings.
curl --request POST \
--url https://api.example.com/environments/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-environment: <x-environment>' \
--data '
{
"handles": {
"invoicePrefix": "<string>",
"customerPrefix": "<string>",
"subscriptionPrefix": "<string>"
},
"invoice": {
"seed": 123
},
"paymentTerm": {
"defaultTerm": "<string>"
}
}
'{
"handles": {
"invoicePrefix": "<string>",
"customerPrefix": "<string>",
"subscriptionPrefix": "<string>"
},
"invoice": {
"seed": 123
},
"paymentTerm": {
"defaultTerm": "<string>"
}
}Configure which environment the request will handle. If the provided credentials do not allow access to this specified environment, a 403 Forbidden response is returned.
Required. Update environment settings.
Was this page helpful?