Upsert Category by External ID
PUT/marketplaces/:marketplaceID/categories/external/:categoryID
Create or update a category using its external identifier (resource_id).
- If a category with the given external ID does not exist, a new one is created (returns 201).
- If a category with the given external ID already exists, it is updated (returns 200).
The external identifier (resource_id) acts as the unique key for the upsert operation.
Request
Responses
- 200
- 201
- 400
- 401
- 500
Category Updated Successfully
Category Created Successfully
Bad Request
Unauthorized
Internal Server Error