admins-promocodes

Admin Create Promocode

Changed on

admin create promocode

post/admins/promocodes

Request

  • Base URL
    https://localhost:8000/api/v1
  • URL
    https://localhost:8000/api/v1/admins/promocodes
  • Auth
    API key in header Authorization

Request body

codestring required
discountPercentageinteger required
expiresAtstring required
offerIdsstring[] required

Response

Created

idobject

Changes