Skip to content

Remove a supplier from one or more associated groups

put
https://api.mercadoe.com/v1/suppliers/{supplierId}/groups

Remove a supplier from one or more associated groups specified by its supplierId and group description.

Request

Headers

X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.

Path Parameters

supplierId
int32
required
the supplier id

Body

application/json
groups
array of object
List with the relationships between the group and the supplier
deleteAllSupplierGroupRelationships
boolean | null
This flag deletes all relationships between a supplier and groups of suppliers

Responses

202
400
404
Accepted

Body

application/json
correlationId
string