Skip to main content
Version: 82.6.0

changeDraftSalesDocOwnership

PATCH 

/sales-docs/:id/draft-ownership

The draft of a sales document relates to two user profiles:

  1. The user that originally created the draft: draftOwnerUserProfile;
  2. The user that is currently editing the draft: currentDraftUserProfile. This service changes the currentDraftUserProfile. The sales doc header id must refer to a draft item. If the caller is currentDraftUserProfile the change of ownership takes place immediately. Otherwise a configurable amount of time must have passed since the last modification of the draft.

To access the service you need at least one of the following permissions:

Permission (one of)
changeDraftSalesDocOwnership
changeDraftSalesOrderOwnership

Request

Responses