Listings

Validates a campaign code for a category.

post/v4/listings/validate-campaign-code

Request

  • Base URL
    https://api.tradera.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.tradera.com/v4/listings/validate-campaign-code
  • Auth
    API key in header X-App-Id and API key in header X-App-Key and API key in header X-User-Id and API key in header X-User-Token

Request body

campaignCodestring nullable

The campaign code to validate.

categoryIdinteger

The category ID to validate against.

Response

OK

isValidboolean
isInvalidBecauseDoesNotExistboolean
isInvalidBecauseHasNotStartedboolean
isInvalidBecauseHasEndedboolean
isInvalidBecauseCategoryIsNotAllowedboolean
isInvalidBecauseAlreadyUsedboolean
isInvalidBecauseUserIsNotAllowedboolean
descriptionstring nullable
discountFactornumber double nullable
provisionFactornumber double nullable
maxFeeCapnumber double nullable
isCustomLengthFeeFreeboolean
isUnsoldFeeFreeboolean

Changes

No recorded changes to this operation across all 3 revisions of this API.