update raffle
PATCH
/v1/raffles/{raffleId}
raffle
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH '/v1/raffles/{{raffleId}}' \
--form 'fastSelectionCards[]="5"' \
--form 'fastSelectionCards[]="10"' \
--form 'fastSelectionCards[]="25"' \
--form 'prizes="[{\"prize\":\"Prêmio especial 1\"}]"' \
--form 'enableQuotaPrizes="true"' \
--form 'minReservationQuantity="1"' \
--form 'maxReservationQuantity="100"' \
--form 'reservationTimeLimit="30"' \
--form 'maxBuyerQuantity="100"' \
--form 'showProgressBar="false"' \
--form 'showRank="false"' \
--form 'enablePromotions="true"' \
--form 'cumulative="false"' \
--form 'enableAntiSpam="false"' \
--form 'reservationFields="name"' \
--form 'reservationFields="email"' \
--form 'reservationFields="phone"' \
--form 'reservationFields="cpf"' \
--form 'enableNotification="false"' \
--form 'popularSelectionCard="2"' \
--form 'promotionType="BY_QUOTA_QUANTITY"' \
--form 'isHighlighted="false"'
Response Response Example
204 - Success
{
"summary": "Success",
"value": ""
}
Request
Path Params
raffleId
string
required
Example:
{{raffleId}}
Body Params multipart/form-data
file
file
optional
Example:
file://C:\Users\Bruno\Downloads\ferrari.jpg
raffleCategoryId
integer
optional
Example:
1
title
string
optional
Example:
Teste
subtitle
string
optional
Example:
Subtítulo opcional
description
string
optional
Example:
Descrição do sorteio
slug
string
optional
Example:
{{$lorem.slug}}
statusText
string
optional
Example:
Status opcional
privacy
enum<string>
optional
Allowed values:
PRIVATEPUBLIC
Example:
PUBLIC
startsAt
string
optional
Example:
{{$date.soon}}
endsAt
string
optional
Example:
2025-09-08T02:56:53.405Z
quotaPrice
number
optional
Example:
0.05
freeCampaign
boolean
optional
Example:
false
affiliate
boolean
optional
Example:
false
fastSelectionCards[]
array[string]
required
Example:
["5","10","25"]
prizes
string
required
Example:
[{"prize":"Prêmio especial 1"}]
enableQuotaPrizes
boolean
required
Example:
true
minReservationQuantity
integer
required
Example:
1
maxReservationQuantity
integer
required
Example:
100
reservationTimeLimit
integer
required
Example:
30
maxBuyerQuantity
integer
required
Example:
100
showProgressBar
boolean
required
Example:
false
showRank
boolean
required
Example:
false
enablePromotions
boolean
required
Example:
true
cumulative
boolean
required
Example:
false
enableAntiSpam
boolean
required
Example:
false
antiSpamMaxQuota
integer
optional
Example:
10
antiSpamTimeout
integer
optional
Example:
30
whatsapp
string
optional
Example:
32772728532
whatsappGroup
string
optional
Example:
https://deafening-elver.biz
telegram
string
optional
Example:
https://pessimistic-perp.name/
email
string
optional
Example:
daniel.oliveira15@live.com
promotionsByQuotaQuantity
string
optional
Example:
[{"quotaQuantity":2,"discount":2,"isActive":true}]
quotaPrizes
string
optional
Example:
[{"luckyNumber":"1","prize":"Prêmio especial 1","isLocked":false},{"luckyNumber":"2","prize":"Prêmio especial 2","isLocked":false},{"luckyNumber":"3","prize":"Prêmio especial 3","isLocked":true}]
certificateCode
string
optional
Example:
123456
reservationFields
array[string]
required
Example:
["name","email","phone","cpf"]
enableNotification
boolean
required
Example:
false
popularSelectionCard
integer
required
Example:
2
promotionType
string
required
Example:
BY_QUOTA_QUANTITY
isHighlighted
boolean
required
Example:
false