New order policy object to define the cancellation/return/cart_update/fulfillment_update/replacement policies #294
techframewirk
started this conversation in
Core Specification
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Area
API
Working Groups
Core Specifications, Local Retail, Delivery
Contributor
Nirmal N R
Table of Contents
Abstract
The order policy object will try to capture all the dimensions of what happens when the order is updated from the user end in a machine readable format.
The following dimensions of an order policy will be captured in the object :
Contents
Current Limitations
Currently there is not method to send back the policy before the order is confirmed. The current policy object is just a descriptor object which describes the policy as sentences will not be machine readable.
Solution Approach
A new OrderPolicy object. This can be sent as a policies array on on_init.
Use case example
Consider if someone has the below cancellation policy :
Then the below array can be sent in on_init to capture the same:
Impact Analysis
This can be an optional object in the on_init call. The BPPs can choose to send just the policy_descriptor if they want to as well.
Beta Was this translation helpful? Give feedback.
All reactions