Category Name must be unique in the merchant account.
Success
Bad Request
Not Found
Server Error
{- "name": "string",
- "defaultUnitTypeId": 0
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Success
Server Error
{- "items": [
- {
- "name": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "defaultUnitTypeId": 0,
- "itemCount": 0
}
], - "total": 0
}
This category will not be available in the catalog. Items linked to this category will still be in the catalog with empty category.
No Content
Server Error
{- "details": null,
- "statusCode": 500,
- "source": "<Service>",
- "exceptionType": "Exceptions.IntegrationException",
- "correlationId": "aa6cfcd0-0295-4a4c-b074-8c901f114fee",
- "entityId": null,
- "errorCode": null
}
Category Name must be unique in the merchant account.
The category update request.
Success
Bad Request
Not Found
Server Error
{- "name": "string",
- "defaultUnitTypeId": 0
}
{- "errors": {
- "Email": [
- "'Email' is not a valid email address."
]
}, - "details": "Validation failed: \n -- Email: 'Email' is not a valid email address. Severity: Error",
- "statusCode": 400,
- "source": "<Service>",
- "exceptionType": "FluentValidation.ValidationException",
- "correlationId": "aa6cfcd0-0295-4a4c-b074-8c901f114fee",
- "entityId": null,
- "errorCode": null
}