deals

Update Deal

Update an existing deal. Admin endpoint - requires authenticated user. Note: This only updates the main deal fields, not nested triggers/rewards/constraints.

put/deals/{deal_id}

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/{deal_id}
  • Auth: none declared

Path parameters

deal_idinteger required

Deal ID to update

Request body

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

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.