QIMA Logo
API Reference

8 categories • 44 endpoints

  • All APIs

    44


  • Supplier
    v1.0.0

    Delete one or more suppliers

    Request

    Query Parameters
    NameTypeLocationRequiredDescription
    userIdstringpathYesQIMA client user login ID.
    supplierIdsstringpathYesSeparate by comma when need to delete multiple suppliers, values like '123,232,334'
    Responses

    200
    Returns `content: true` when all given suppliers were deleted. Returns `content: false` with a `message` (e.g. `SUPPLIER_IN_USE`) when deletion was rejected — this is still HTTP 200, so check `content`, not just the status code.

    Content-Type: application/json

    message
    string
    FieldTypeDescription
    messagestring
    FieldTypeDescription
    contentboolean
    {
      "message": "SUPPLIER_IN_USE",
      "content": false
    }
    DELETE
    /user/v2/{userId}/suppliers/{supplierIds}
    Request samples

    application/json

    {}

    Response samples

    application/json

    { "message": "SUPPLIER_IN_USE", "content": false }