Account

Mark a purchase as consumed by the current user.

Changed on
post/accounts/purchases/{pid}/consume

Request

  • Base URL
    https://api.onshape.com/api/v17
  • URL
    https://api.onshape.com/api/v17/accounts/purchases/{pid}/consume
  • Auth
    OAuth 2 and HTTP basic
    Authorization code: /oauth/authorize
    Token URL: /oauth/token scopes: OAuth2Purchase

Path parameters

pidstring required

Request body

consumedQuantityinteger
identityIdstring
identityTypeinteger
purchaseIdstring

Response

default response

Changes

    • info

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

    • info

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

    • info

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

    • info

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