Update Return Rule
Updates an existing return rule.
Authorizations
JWT Authorization header using the Bearer scheme.
Path Parameters
The code of the Return rule to update.
Query Parameters
limits which fields are returned in the response body
Body
Return Rule contract
Unique identifier of the Return.
List of customer rule codes that apply to the Return
Return description
Indicates if the Return is enabled
End of the rule's effective window. Null = never expires. Must be >= StartDate when both supplied.
Read-only. Computed server-side: true when the current UTC instant is inside the effective window (StartDate null/≤now AND EndDate null/≥now), false otherwise. A rule with no dates is always active. This reflects the effective window alone and does not incorporate the enabled flag.
Indicates if the Return is IsReturnable
Maximum Days of the Return
Maximum quantity of the Return
Metadata for the ReturnRule which is a json format, used to store additional information
Return name
List of product rule codes that apply to the Return
Rank of the Return
Start of the rule's effective window. Null = no lower bound (already active).
Indicates if the ReturnRule is valid for all sites
List of site IDs that the ReturnRule is valid for
Response
OK
Return Rule contract
Unique identifier of the Return.
List of customer rule codes that apply to the Return
Return description
Indicates if the Return is enabled
End of the rule's effective window. Null = never expires. Must be >= StartDate when both supplied.
Read-only. Computed server-side: true when the current UTC instant is inside the effective window (StartDate null/≤now AND EndDate null/≥now), false otherwise. A rule with no dates is always active. This reflects the effective window alone and does not incorporate the enabled flag.
Indicates if the Return is IsReturnable
Maximum Days of the Return
Maximum quantity of the Return
Metadata for the ReturnRule which is a json format, used to store additional information
Return name
List of product rule codes that apply to the Return
Rank of the Return
Start of the rule's effective window. Null = no lower bound (already active).
Indicates if the ReturnRule is valid for all sites
List of site IDs that the ReturnRule is valid for

