Products

Update a product. Roles: admin.

Changed on
put/api/products/{productId}

Request

  • Base URL
    https://api.mobilecoach.org (the document declares no server; this is the origin it was published from)
  • URL
    https://api.mobilecoach.org/api/products/{productId}
  • Auth
    AuthToken (a scheme the document does not define)

Path parameters

productIdinteger required

Query parameters

localestring

Request body

typeCode'CERT' | 'COURSE' | 'EVENT' required
membershipIdinteger
detailstring
imageUuidstring uuid
priceinteger required
currency'AED' | 'ARS' | 'AUD' | 'CAD' | 'CHF' | 'CLP' | 'CNY' | 'EUR' | 'GBP' | 'INR' | 'JPY' | 'KRW' | 'MYR' | 'NZD' | 'PKR' | 'SGD' | 'USD' | 'ZAR' required
activeboolean
recurringboolean
allowProrateboolean
namestring required
eventIdinteger
certIdinteger
contentIdinteger
salesStartTimestring date-time
salesEndTimestring date-time
eventCheckInStartTimestring date-time
eventCheckInEndTimestring date-time
taxEnabledboolean required
taxCodestring
enrollmentScopeCode'ENROLL' | 'ENROLL_AND_RENEW' | 'RENEW'

Response

OK

successboolean
errorstring

Changes

    • warning

      added the new AGE enum value to the // response property for the response status

    • warning

      added the new GREATER_THAN_OR_EQUALS enum value to the // response property for the response status

    • warning

      added the new LESS_THAN_OR_EQUALS enum value to the // response property for the response status

    • info

      added the optional property // to the response with the status