Expiry
This page is outdated. Please go to our new documentation under https://docs.fulfillmenttools.com/documentation.
The Expiry feature ensures seamless management of orders by automatically canceling them if they're not collected within a specified timeframe. This empowers our customers to free up reserved items and streamline their processes effectively.
How it works When an order is placed, a specified fulfillment time is set. If the purchase isn't collected within this timeframe, the expiry feature kicks in, automatically canceling the order and releasing the reserved items.
To activate this feature, the "provisioningTime" value must be passed through the order into the platform. Alternatively, an expiry entity can be created via our API.
Configuration
Configure the expiry feature by defining a buffer time which is added to the provisioning time to determine the expiry time.
Read Current Configuration:
Get the current configuration
config found.
The date this entity was created at the platform. This value is generated by the service.
"2020-02-03T08:45:51.525Z"
The date this entity was modified last. This value is generated by the service.
"2020-02-03T09:45:51.525Z"
The version of the document to be used in optimistic locking mechanisms.
42
Update Existing or Create New Configuration:
Change the tenant wide configuration
Desired configuration to create/update
The date this entity was created at the platform. This value is generated by the service.
"2020-02-03T08:45:51.525Z"
The date this entity was modified last. This value is generated by the service.
"2020-02-03T09:45:51.525Z"
The version of the document to be used in optimistic locking mechanisms.
42
The configuration was successfully updated.
The date this entity was created at the platform. This value is generated by the service.
"2020-02-03T08:45:51.525Z"
The date this entity was modified last. This value is generated by the service.
"2020-02-03T09:45:51.525Z"
The version of the document to be used in optimistic locking mechanisms.
42
Expiry Entity
An expiry entity contains all the necessary information to manage the expiration process efficiently. It's closely linked to the order and the process. Once created, the expiry entity is regularly checked, and if the expiry time is reached, the associated process expires.
Read Existing Expiry Entities:
Get expiries by filter parameter
found entities in the result.
Generated identifier of this entity
"611c860f-3f00-4b01-9f4c-64cdee38a30e"
The version of the document to be used in optimistic locking mechanisms.
42
the version of the process this expiry entity belongs to, needed for preventing of faulty changes via late messages
42
The date this entity was created at the platform. This value is generated by the service.
"2020-02-03T08:45:51.525Z"
The date this entity was modified last. This value is generated by the service.
"2020-02-03T09:45:51.525Z"
Reference to the Process of this Entity
"c4e5fb70-a893-4ffa-b7b0-e042cda6fb9f"
Planned time where this entity should be provided or handed over to the customer
"2020-02-03T08:45:51.525Z"
Time where the connected process expires, if not fulfilled
"2020-02-03T08:45:51.525Z"
Read Specific Entity:
Get Expiry by Id
id for the searched entity
found entity in the result.
Generated identifier of this entity
"611c860f-3f00-4b01-9f4c-64cdee38a30e"
The version of the document to be used in optimistic locking mechanisms.
42
the version of the process this expiry entity belongs to, needed for preventing of faulty changes via late messages
42
The date this entity was created at the platform. This value is generated by the service.
"2020-02-03T08:45:51.525Z"
The date this entity was modified last. This value is generated by the service.
"2020-02-03T09:45:51.525Z"
Reference to the Process of this Entity
"c4e5fb70-a893-4ffa-b7b0-e042cda6fb9f"
Planned time where this entity should be provided or handed over to the customer
"2020-02-03T08:45:51.525Z"
Time where the connected process expires, if not fulfilled
"2020-02-03T08:45:51.525Z"
Create New Entity:
Create Expiry
Reference to the Process for which this expiry entity will be created
"c4e5fb70-a893-4ffa-b7b0-e042cda6fb9f"
Planned time where this entity should be provided or handed over to the customer
"2020-02-03T08:45:51.525Z"
created entity in the result.
Generated identifier of this entity
"611c860f-3f00-4b01-9f4c-64cdee38a30e"
The version of the document to be used in optimistic locking mechanisms.
42
the version of the process this expiry entity belongs to, needed for preventing of faulty changes via late messages
42
The date this entity was created at the platform. This value is generated by the service.
"2020-02-03T08:45:51.525Z"
The date this entity was modified last. This value is generated by the service.
"2020-02-03T09:45:51.525Z"
Reference to the Process of this Entity
"c4e5fb70-a893-4ffa-b7b0-e042cda6fb9f"
Planned time where this entity should be provided or handed over to the customer
"2020-02-03T08:45:51.525Z"
Time where the connected process expires, if not fulfilled
"2020-02-03T08:45:51.525Z"
Note: There can only be one expiry entity for each process
Update Existing Entity:
Update Expiry
id of the entity to be changed
version of the entity you want to alter
Planned time where this entity should be provided or handed over to the customer
"2020-02-03T08:45:51.525Z"
changed entity in the result.
Generated identifier of this entity
"611c860f-3f00-4b01-9f4c-64cdee38a30e"
The version of the document to be used in optimistic locking mechanisms.
42
the version of the process this expiry entity belongs to, needed for preventing of faulty changes via late messages
42
The date this entity was created at the platform. This value is generated by the service.
"2020-02-03T08:45:51.525Z"
The date this entity was modified last. This value is generated by the service.
"2020-02-03T09:45:51.525Z"
Reference to the Process of this Entity
"c4e5fb70-a893-4ffa-b7b0-e042cda6fb9f"
Planned time where this entity should be provided or handed over to the customer
"2020-02-03T08:45:51.525Z"
Time where the connected process expires, if not fulfilled
"2020-02-03T08:45:51.525Z"
Note: If updated, the expiry time will be recalculated based on the new information.
This comprehensive expiry feature ensures efficient order management and seamless process automation for our customers.
Last updated