POST /adjustment-reasons.json
Body Required
-
Code
-
Name
-
Show in returns portal
Default value is
true
.
POST /adjustment-reasons.json
curl \
-X POST http://api.example.com/v1/adjustment-reasons.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"code":"string","name":"string","showInReturnsPortal":true}'
Request example
{
"code": "string",
"name": "string",
"showInReturnsPortal": true
}
Response examples (200)
{
"code": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"name": "string",
"showInReturnsPortal": true,
"updatedAt": "2024-05-04T09:42:00+00:00"
}