Skip to main content
PATCH
Update a goods in receipt

Request Structure

Line Item Operations

Address

To set or update the address, provide it in data.relationships.address (not in data.attributes).

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.

FlowAuthorization Code
Authorization URL
https://clarus-api.com/oauth/authorize
Token URL
https://clarus-api.com/oauth/token
FlowClient Credentials
Token URL
https://clarus-api.com/oauth/token
X-Clarus-Subdomain
string
header
required

The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.

Path Parameters

id
integer
required

The unique identifier of the goods in receipt to update

Body

application/json
data
object
required

Response

Goods in receipt updated successfully

data
object