Raffle System
  1. general
Raffle System
  • Raffles
    • authentication
      • admin login
      • user login
    • awarded-boxes
      • getAll
      • open awarded box
      • create
      • getAll by raffleId
      • delete
    • awarded-boxes-combo
      • create
      • getAll by raffleId
      • update
      • delete
    • tracking
      • get tracking info
    • pay2m-api
      • access token generation
      • generate billing qr code
      • consult qr code
      • list webhook
      • register/update webhook
      • delete webhook
    • provider-api
      • auth login
      • create pix static
      • get webhooks
      • create webhook
      • get balance
      • get extracts
      • edit webhook
      • delete webhook
      • get webhook details
      • restore webhook
    • winner
      • get quota prize winners
    • general
      • update settings
        PATCH
      • get settings
        GET
      • create notifications
        POST
      • get notifications
        GET
      • get notification by id
        GET
      • update notification
        PATCH
      • delete notification
        DELETE
      • create faq
        POST
      • get faqs
        GET
      • get faq by id
        GET
      • update faq
        PATCH
      • delete faq
        DELETE
    • metrics
      • get sales by day for raffle
      • get top buyers by raffle
      • get general metrics
      • get last orders
      • get raffle percentage of sales
      • get orders summary
      • get badges
      • get sell bar
      • get fake sold quotas percentage
      • create fake sold quotas percentage
      • update fake sold quotas percentage
    • payments
      • get payment providers
      • create/update payment provider
      • get payment provider by name
      • get pix payments
      • get my pix payments
      • get pix payment details
    • order
      • create order withou payment method
      • create order
      • get orders
      • get orders by raffle id
      • get my orders
      • get order details
      • pay order
      • cancel order
    • lucky-numbers
      • get lucky numbers by raffleId
      • get lucky numbers by orderId
    • raffle
      • toggle awarded boxes visualization
      • toggle awarded boxes winners visualization
      • toggle acumulative combo
      • update category
      • delete category
      • create raffle category
      • get categories
      • create raffle
      • get raffles
      • get raffle details
      • delete raffle
      • update raffle
      • get winners
      • get winner details
      • get winner info
      • create winner
      • upload file
    • user
      • create user
      • get users
      • update user
      • get user details
      • delete user
      • get user by phone
      • get profile
      • create customer
      • update customer
  1. general

update settings

PATCH
/v1/settings
general
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/v1/settings' \
--header 'Content-Type: application/json' \
--data-raw '{
    "siteName": "Awesome API",
    "photoUrl": "https://loremflickr.com/314/526?lock=190165507482971",
    "faviconUrl": "https://loremflickr.com/132/3866?lock=4098570284187992",
    "googleAnalyticsId": "1405467b-1c33-4ad7-ac6b-218f1a4c4964",
    "facebookPixelId": "41ddda4e-c90d-40e4-8085-fa9ce9034553",
    "facebookToken": "H3Pr-5Re_Eg4KS3_bPElu",
    "enableCertificate": true,
    "certificateText": "Cumque modi minus iste quia rerum minus quisquam alias. Sequi aut modi corrupti enim architecto vel et. Deleniti quis minima.\nTenetur ipsa reprehenderit maxime neque pariatur in nesciunt perferendis. Vero vitae suscipit animi id. Eligendi quia temporibus minus quasi totam odio.\nIusto numquam aspernatur quos itaque adipisci. Dicta est nihil error omnis repudiandae magnam voluptatem. Doloremque expedita architecto in nam magnam distinctio ipsam.\nOfficia consectetur error libero optio. Magni alias sint commodi maxime inventore cupiditate nemo consequuntur porro. Dolorum ipsum a.\nOptio optio dolore aliquid sit ea repudiandae. Laudantium totam libero ea deserunt porro. Consequatur deleniti dolore.\nArchitecto corporis ullam similique consequuntur vero dolor delectus alias. Nam quasi necessitatibus magnam dolores porro. Minus enim vel sunt deleniti consequatur.",
    "termsOfUse": "Deleniti nulla sapiente quasi quo velit voluptates. Possimus provident expedita ea. Laborum omnis eaque illo ullam.\nOfficiis in non omnis. Adipisci quam dolorum fuga earum provident perspiciatis in suscipit doloribus. Quaerat explicabo occaecati nisi.",
    "facebookLink": "https://rectangular-gym.net/",
    "twitterLink": "https://firm-tectonics.net/",
    "instagramLink": "https://obvious-hyena.br",
    "youtubeLink": "https://closed-riser.com"
}'
Response Response Example
204 - Example 1
null

Request

Body Params application/json
siteName
string 
optional
photoUrl
string 
optional
faviconUrl
string 
optional
googleAnalyticsId
string 
optional
facebookPixelId
string 
optional
facebookToken
string 
optional
enableCertificate
boolean 
optional
certificateText
string 
optional
termsOfUse
string 
optional
facebookLink
string 
optional
twitterLink
string 
optional
instagramLink
string 
optional
youtubeLink
string 
optional
Examples

Responses

🟢204No Content
*/*
Body
No schema defined
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Previous
get quota prize winners
Next
get settings
Built with