Skip to main content
POST
cURL
Creates a return vendor authorization for lines of a purchase order, wrapped in return_vendor_authorization. Name the purchase order by its id, and each line by its purchase_order_line id with the rva_qty to return. Send create_as_draft: true to save it as a draft.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Body

application/json
return_vendor_authorization
object
required

Response

201 - application/json

The new return vendor authorization, under return_vendor_authorization.

return_vendor_authorization
object