Executes the Change action for the Compliances data object.

Change an existing Compliance record on a purchase order

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The code of the subscriber that you are making this request for.

Body Params
__key
required
string
enum

Optional. If omitted, the existing value remains unchanged.

Allowed:
string | null

Optional. If omitted, the existing value remains unchanged.

date | null
^([0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|2[0-9]|1[0-9]|0[1-9])$

Format: YYYY-MM-DD. Only valid for D-Date CompType Compliance Codes. If provided for non D-Date CompType Compliance Code input will be ignored and null saved. Optional. If omitted, the existing value remains unchanged.

string | null
enum

Only valid for F-Flag CompType Compliance Codes. If provided for non F-Flag CompType Compliance Code Input will be ignored and null saved. Optional. If omitted, the existing value remains unchanged.

Allowed:
string | null

Optional. If omitted, the existing value remains unchanged.

integer | null

Supplier. Key to ap/2/vendors(VendorGroup, Vendor). VendorGroup defaulted based on POCo. Value should be provided only if this Compliance code relates to an additional supplier (2nd party) and not the Vendor on the PO. Optional. If omitted, the existing value remains unchanged.

__custom_fields
object

Add a property for each user defined values that should be set.

Headers
string
required

Used to authorize access to the Direct API.

Responses

401

You have not provided a proper X-Application-Key in the header of this request.

403

The X-Application-Key provided is valid but the key does not have access to this resource.

404

The object with the given ID was not found OR a subscriber with the given URL was not found.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json