deals

Create Deal

Create a new deal with triggers, rewards, and constraints. Admin endpoint - requires authenticated user.

post/deals/

Request

  • Base URL: https://api.venhub.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.venhub.com/deals/
  • Auth: none declared

Request body

namestring required
descriptionstring nullable
display_textstring nullable
display_imagestring nullable
startstring date-time required
endstring date-time required
hub_idinteger[] required
is_deal_activeboolean
stackableboolean
priorityinteger

Response

Successful Response

namestring required
descriptionstring nullable
display_textstring nullable
display_imagestring nullable
startstring date-time required
endstring date-time required
hub_idinteger[] required
is_deal_activeboolean
stackableboolean
priorityinteger
idinteger required
created_atstring date-time required
modified_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.