Skip to main content

Update tenders for a user


ApiScope: payment.user.tender.write
API Scope Level: ServiceSubscriberScope
Path Parameters
    departmentUuid string required
    dealerAssociateUuid string required
Request Body required
    addedUserTenders object[]
  • Array [
  • cashLimit number
    tenderSubtypeID int64
  • ]
  • removedUserTenders object[]
  • Array [
  • cashLimit number
    tenderSubtypeID int64
  • ]
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
    errorDescription string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
    warningDescription string
  • ]
  • paymentUserTenderDTOList object[]
  • Array [
  • paymentUser object
    id int64
    dealerAssociateUUID string
    userUUID string
    dealerDepartmentUUID string
    tenderSubType object
    id int64
    subTenderName string
    tenderType object
    id int64
    version int64
    tenderName string
    availableOnMobile boolean
    valid boolean
    cashLimit number
  • ]
POST /v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes

Request

Base URL
/payment
departmentUuid — path required
dealerAssociateUuid — path required
Body required
{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}
curl / cURL
curl -L -X POST '/payment/v4/tenders/departments/:departmentUuid/dealer-associates/:dealerAssociateUuid/tender-subtypes' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"addedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
],
"removedUserTenders": [
{
"cashLimit": 0,
"tenderSubtypeID": 0
}
]
}'