AppResellerAssignment

Assign a seat of a purchased product to a user who is a member of a linked marketplace company

post/appReseller/v1/subscriptionAssignments

Request

Request body

userIdstring required

ID of the user to whom the product will be assigned

subscriptionIdstring required

ID of the product subscription to assign to the user

Example request

{
  "userId": "2c061df6-4313-45e0-8709-a0ca19b0aaa3",
  "subscriptionId": "386626c0-53e2-4515-8450-4a720bb5d029"
}

Response

Assignment created

idstring required

Assignment ID

status'PENDING_REQUIRED_DATA' | 'PENDING_SEAT_AVAILABILITY' | 'PENDING_USER_ACTIVATION' | 'PENDING_REMOTE_CREATION' | 'SUBSCRIPTION_SUSPENDED_FREE_TRIAL_EXPIRED' | 'SUBSCRIPTION_SUSPENDED_RENEW_CONTRACT' | 'SUBSCRIPTION_SUSPENDED_PAY_INVOICE' | 'SUBSCRIPTION_SUSPENDED_MANUAL_SUSPENSION' | 'FAILED' | 'ACTIVE' | 'PENDING_REMOTE_CANCELLATION' | 'CANCELLED' required
createdOnnumber required

Assignment creation date, in timestamp format

subscriptionIdstring required

ID of the subscription assigned to the user

Example response

{
  "id": "63bf81c2-8e01-48b7-a8b1-46a0efa0e823",
  "status": "ACTIVE",
  "createdOn": 1529083173000,
  "subscriptionId": "386626c0-53e2-4515-8450-4a720bb5d029",
  "user": {
    "id": "386626c0-53e2-4515-8450-4a720bb5d029",
    "firstName": "Michael",
    "lastName": "Jordan"
  }
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status