Order

Manages orders, including processing, tracking, and updating order status.

Account

The Account module is responsible for managing channel accounts within a company. Channel accounts represent different sales channels or marketplaces through which products are sold. This module provides functionality to create, retrieve, update, and list channel accounts, enabling businesses to manage multiple sales channels from a single platform.

Operations
POST
/service/platform/order-manage/v1.0/company/{company_id}/account
# Create channel account
GET
/service/platform/order-manage/v1.0/company/{company_id}/account
# Get channel accounts list
GET
/service/platform/order-manage/v1.0/company/{company_id}/account/{channel_account_id}
# Get channel account details
PUT
/service/platform/order-manage/v1.0/company/{company_id}/account/{channel_account_id}
# Update account
POST

Create channel account

Creates a new channel account for the company. Channel accounts represent different sales channels or marketplace integrations (e.g., Shopify, custom marketplaces) through which the company receives and processes orders. Each account is identified by a unique name and can be used to segregate orders from different sources.
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
Request body
channel_account_name
string
Required
Unique name identifier for the channel account. This represents the sales channel or marketplace through which orders are received and processed.
POST
/service/platform/order-manage/v1.0/company/{company_id}/account
Loading...
Response
200
Account created successfully
Hide
channel_account_id
string
Unique identifier for the channel account. This is a system-generated identifier used to reference the account across the platform.
company_id
integer
Unique identifier of the company on the platform to which this channel account belongs.
channel_account_name
string
Name of the channel account. This identifies the specific sales channel or marketplace (e.g., SHOPIFY, MARKETPLACE, etc.) through which the company receives and processes orders.
Examples
Parameters
Parameters are not required.
Response
Loading...
GET

Get channel accounts list

Retrieves a paginated list of all channel accounts configured for the company. Channel accounts represent different sales channels or marketplace integrations from which orders are received. This endpoint returns account details including the account ID, company ID, and channel account name for each configured channel.
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
pagequery
integer
The page number to retrieve in the paginated results. Default is page 1.
Default Value : 1
sizequery
integer
Number of channel accounts to return per page. Default is 20 items per page.
Default Value : 20
GET
/service/platform/order-manage/v1.0/company/{company_id}/account
Loading...
Response
200
Successfully retrieved list of accounts
Hide
data
array of object (Account)
List of channel accounts associated with the company. Each account represents a different sales channel or marketplace integration.
Show
page
object (Page)
Show
Examples
Parameters
Parameters are not required.
Response
Loading...
GET

Get channel account details

Retrieves detailed information about a specific channel account using its unique identifier. This endpoint returns the complete account details including the account ID, associated company ID, and the channel account name. Use this to fetch information about a particular sales channel or marketplace integration.
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
channel_account_idpath
string
Required
Unique identifier of the channel account to retrieve.
GET
/service/platform/order-manage/v1.0/company/{company_id}/account/{channel_account_id}
Loading...
Response
200
Successfully retrieved account details
Hide
channel_account_id
string
Unique identifier for the channel account. This is a system-generated identifier used to reference the account across the platform.
company_id
integer
Unique identifier of the company on the platform to which this channel account belongs.
channel_account_name
string
Name of the channel account. This identifies the specific sales channel or marketplace (e.g., SHOPIFY, MARKETPLACE, etc.) through which the company receives and processes orders.
Response
Loading...
PUT

Update account

Updates the details of a specific channel account.
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
channel_account_idpath
string
Required
Unique identifier of the account.
Request body
channel_account_name
string
Required
Unique name identifier for the channel account. This represents the sales channel or marketplace through which orders are received and processed.
PUT
/service/platform/order-manage/v1.0/company/{company_id}/account/{channel_account_id}
Loading...
Response
200
Account updated successfully
Hide
channel_account_id
string
Unique identifier for the channel account. This is a system-generated identifier used to reference the account across the platform.
company_id
integer
Unique identifier of the company on the platform to which this channel account belongs.
channel_account_name
string
Name of the channel account. This identifies the specific sales channel or marketplace (e.g., SHOPIFY, MARKETPLACE, etc.) through which the company receives and processes orders.
Response
Loading...

Bag

Bag represents a virtual entity to group same items which contains single or multi quantity. Bags are part of a shipment. An order will have one or more than one shipments. A shipment can contain zero or more bags.

Operations
GET
/service/platform/order/v1.0/company/{company_id}/shipments/{shipment_id}/bags/{bag_id}/state/{state}/reasons
# List bag cancellation reasons
GET
/service/platform/order/v1.0/company/{company_id}/bag-details/
# Get bag
GET
/service/platform/order/v1.0/company/{company_id}/bags
# List bags
GET

List bag cancellation reasons

Get reasons to perform full or partial cancellation of a bag
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
shipment_idpath
string
Required
ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID.
bag_idpath
string
Required
ID of the bag. An order may contain multiple items and may get divided into one or more shipment, each having its own ID.
statepath
string
Required
State for which reasons are required.
GET
/service/platform/order/v1.0/company/{company_id}/shipments/{shipment_id}/bags/{bag_id}/state/{state}/reasons
Loading...
Response
200
Success.
Hide
reasons
array of object (Reason)
An array of reasons associated with the platform.
Show
success
boolean
Indicates whether the API call was successful (true) or not (false).
Response
Loading...
GET

Get bag

Retrieve detailed information about a specific bag
Parameters
company_idpath
integer
Required
Unique identifier of a company
bag_idquery
string
Unique identifier of a bag
channel_bag_idquery
string
Id of application bag
channel_idquery
string
Id of application
GET
/service/platform/order/v1.0/company/{company_id}/bag-details/
Loading...
Response
200
Successfully retrived shipment details!
Hide
status_code
integer
Response status_code.
Enum
data
object (BagDetails)
Show
Examples
Parameters
company_id:
1
bag_id:
"value"
channel_bag_id:
"value"
channel_id:
"value"
Response
Loading...
GET

List bags

Get paginated list of bags based on provided filters
Parameters
company_idpath
integer
Required
Id of company
bag_idsquery
string
Comma separated values of bag ids
shipment_idsquery
string
Comma separated values of shipment ids
order_idsquery
string
Comma separated values of order ids
channel_bag_idsquery
string
Comma separated values of app bag ids
channel_shipment_idsquery
string
Comma separated values of app shipment ids
channel_order_idsquery
string
Comma separated values of app order ids
channel_idquery
string
Comma separated values of app ids
page_noquery
integer
Page number for paginated data
Default Value : 1
page_sizequery
integer
Page size of data received per page
Default Value : 20
GET
/service/platform/order/v1.0/company/{company_id}/bags
Loading...
Response
200
Successfully retrived all the given shipments details!
Hide
status_code
integer
Response status_code.
Enum
data
object (BagData)
Nullable
Show
Examples
Parameters
company_id:
1
bag_ids:
"value"
shipment_ids:
"value"
order_ids:
"value"
channel_bag_ids:
"value"
channel_shipment_ids:
"value"
channel_order_ids:
"value"
channel_id:
"value"
page_no:
1
page_size:
1
Response
Loading...

Order

Order represents a customer's intent to purchase a specific set of products from your platform. Here platform could be a Website, POS machine, External integrations etc. It typically includes details like customer information, billing/shipping addresses, items ordered, quantities, pricing, and chosen fulfillment method.

Operations
GET
/service/platform/order-manage/v1.0/company/{company_id}/order-config
# Get channel configuration
POST
/service/platform/order-manage/v1.0/company/{company_id}/order-config
# Create channel configuration
POST
/service/platform/order-manage/v1.0/company/{company_id}/user/attach
# Attach order to a user
POST
/service/platform/order-manage/v1.0/company/{company_id}/orders
# Create Order
GET
/service/platform/order/v1.0/company/{company_id}/order-details
# Get order
GET
/service/platform/order/v1.0/company/{company_id}/orders-listing
# List orders
GET

Get channel configuration

Retrieve configuration settings specific to orders for a channel
Parameters
company_idpath
integer
Required
GET
/service/platform/order-manage/v1.0/company/{company_id}/order-config
Loading...
Response
200
Successfully created the config data
Hide
config_data
object (CreateChannelConfig)
Show
Examples
Parameters
company_id:
1
Response
Loading...
POST

Create channel configuration

Set up configuration for a channel specific to orders which has implications over how the order fulfilment happens in a channel
Parameters
company_idpath
integer
Required
Request body
config_data
object (CreateChannelConfig)
Show
POST
/service/platform/order-manage/v1.0/company/{company_id}/order-config
Loading...
Response
200
Successfully updateShipmentStatus!
Hide
is_inserted
boolean
is_upserted
boolean
acknowledged
boolean
Examples
Parameters
company_id:
1
body:
body
Response
Loading...
POST

Attach order to a user

Attach an anonymous order to a customer based on OTP verification
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
Request body
otp_data
object (AttachUserOtpData)
Required
Show
fynd_order_id
string
Required
A unique identifier for the order associated with the user attach.
user_info
object (AttachUserInfo)
Required
Show
POST
/service/platform/order-manage/v1.0/company/{company_id}/user/attach
Loading...
Response
200
Attach user to order
Hide
success
boolean
Indicates whether the API call was successful (true) or not (false).
message
string
A descriptive message providing additional information about the API response.
Examples
Parameters
Parameters are not required.
Response
Loading...
POST

Create Order

Creates an order in the Order Management System (OMS). You can use getOptimalLocations (optional) to identify the most suitable fulfilment location and createShipments (optional) to create shipments before creating the order. See the Create Order use-case document for various order creation scenarios to accommodate different business requirements and customer needs.
Parameters
company_idpath
integer
Required
Headers
x-ordering-source
string
Required
To uniquely identify the source through which order has been placed.
x-application-id
string
The Application ID is a unique identifier assigned to a storefront that typically follows a 24-character hexadecimal string. Either `x-application-id` or `x-extension-id` header is mandatory. At least one of them must be provided.
x-extension-id
string
The Extension ID is a unique identifier assigned to an extension that typically follows a 24-character hexadecimal string. Either `x-application-id` or `x-extension-id` header is mandatory. At least one of them must be provided.
Request body
shipments
array of object (CreateOrderShipmentSchema)
List of shipments included in the order.
Show
charges
array of object (CreateOrderChargeSchema)
Custom order-level charges (e.g. delivery or COD fees) that OMS distributes across the order's shipments and apportions onto their payment methods.
Show
tags
array of string
Tags that can be used to filter and categorize orders and shipments.
currency_details
object (CurrencySchema)
Required
Show
external_creation_date
string
| date-time
Timestamp indicating when the order was created in an external system.
coupon_details
object (CouponSchema)
Show
billing_details
object (BillingDetailsSchema)
Required
Show
primary_payment_mode
string
Required
The primary payment method used for the entire order transaction.
cp_configuration
object (CPConfigurationSchema)
Show
ordering_location_id
integer
The location ID where the order is placed. Required when the order is placed from one location but fulfilled by another.
allow_location_reassignment
boolean
Allows location reassignment before order confirmation.
Default Value : true
shipping_details
object (ShippingDetailsSchema)
Required
Show
external_order_id
string
A unique identifier assigned to the order by an external system or service.
user_details
object (UserDetailsSchema)
Show
order_lifecycle_messages
array of object (LifecycleMessageSchema)
List of order lifecycle messages to be displayed to the seller at Order Details.
Show
channel_application_id
string
Identifies the application from which the order was created. Pass this when it differs from the fulfilling company's application.
b2b_gstin_number
string
The GSTIN (Goods and Services Tax Identification Number) for business-to-business transactions.
channel_company_id
string
The company ID where the order is placed. Required when the order is placed from one company but fulfilled by another.
is_draft
boolean
Indicates whether the order is a draft. Draft orders will be moved to upcoming state instead of placed status.
is_offline_order
boolean
Indicates whether the order is an offline order placed through a physical store or offline channel.
meta
object
Metadata related to the order may include additional, dynamic information that provides further context about the order. This information can also be viewed on the Order or Shipment Details page.
POST
/service/platform/order-manage/v1.0/company/{company_id}/orders
Loading...
Response
200
Hide
fynd_order_id
string
Response
Loading...
GET

Get order

Get detailed information about a specific order
Parameters
company_idpath
integer
Required
Id of company
order_idquery
string
Required
Default Value : FY6299E19701B4EAEFC2
my_ordersquery
boolean
allow_inactivequery
boolean
Flag to allow inactive shipments
Default Value : false
GET
/service/platform/order/v1.0/company/{company_id}/order-details
Loading...
Response
200
We are processing the report!
Hide
order
object (OrderData)
Show
success
boolean
shipments
array of object (PlatformShipment)
Show
Examples
Parameters
company_id:
1
order_id:
"value"
my_orders:
false
allow_inactive:
false
Response
Loading...
GET

List orders

Get a list of orders based on the filters provided.
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
Default Value : 37
lanequery
string
lane refers to a section where orders are assigned, indicating its grouping.
Enum
search_typequery
string
search_type refers to the field that will be used as the target for the search operation.
Enum
bag_statusquery
string
bag_status refers to status of the entity. Filters orders based on the status.
time_to_dispatchquery
integer
time_to_dispatch refers to estimated SLA time.
Enum
payment_methodsquery
string
Comma separated values of payment methods that were used to place order.
tagsquery
string
tags refers to additional descriptive labels associated with the order
search_valuequery
string
search_value is matched against the field specified by the search_type
Default Value : 16854460524441037000
from_datequery
string
| date
Date time in UTC timezone as per ISO format.
to_datequery
string
| date
Date time in UTC timezone as per ISO format.
start_datequery
string
| date-time
Date time in UTC timezone as per ISO format.
end_datequery
string
| date-time
Date time in UTC timezone as per ISO format.
dp_idsquery
string
Delivery Partner IDs to which shipments are assigned.
storesquery
string
A comma-separated list of store IDs used to filter results to only those related to specific stores.
sales_channelsquery
string
A comma-separated list of sales channel IDs to filter results based on the sales channels involved.
page_noquery
integer
Specifies the page number for paginated results.
Default Value : 1
page_sizequery
integer
Determines the number of results returned per page.
Default Value : 10
is_priority_sortquery
boolean
Default Value : true
custom_metaquery
string
Default Value : 6388422a5ebd6a6cf4a8ede6
my_ordersquery
boolean
show_cross_company_dataquery
boolean
Flag to view cross & non-cross company order
Default Value : false
customer_idquery
string
The unique identifier for the customer associated with the query, useful for filtering results to a specific customer.
order_typequery
string
Defines the specific journey a shipment will follow based on the application's operational needs and customer preferences. This field categorizes orders into distinct types, each associated with a unique processing flow. For example - "HomeDelivery": The order goes through all the steps needed for delivery, from being packed to arriving at the customer’s address. - "PickAtStore": The order is prepared for pickup at the store, skipping shipping steps to make it ready faster for the customer to collect in person. - "Digital": This order type likely refers to orders that involve digital goods or services, such as software, digital subscriptions, e-books, online courses, or any other item that can be delivered electronically.
Enum
allow_inactivequery
boolean
Flag indicating whether inactive shipments are allowed
Default Value : false
group_entityquery
string
Defines the grouping criterion for retrieving shipments or orders. It specifies whether the results should be organized based on shipment groups or order groups. For example, using 'shipments' groups results by shipment, while an invalid value like 'abcd' may not be recognized, leading to errors or default behavior.
enforce_date_filterquery
boolean
Applies a date filter for listing orders. This is useful when fetching data for a specific date range while performing searches.
Default Value : false
fulfillment_typequery
string
Define the Fulfillment Type for Listing Orders, This is use when we want to get list of shipments or orders by cross store or cross company or fulfilling Store (by default), this is also depends on the login user accessType and store access
Enum
ordering_sourcequery
string
Filter orders by ordering source. Accepts comma-separated values for multiple sources.
channel_account_idquery
string
Comma-separated channel account IDs to filter orders by specific channel accounts.
include_countquery
boolean
Set to false to skip computing the total number of matching orders. `total_count` and `page.total` are then returned as -1; use `page.has_next` to paginate. The total can be fetched separately from the listing/count API (`GET /service/platform/order/v1.0/company/{company_id}/listing/count/`).
Default Value : true
GET
/service/platform/order/v1.0/company/{company_id}/orders-listing
Loading...
Response
200
We are processing the report!
Hide
total_count
integer
Nullable
The total number of orders matching the query criteria. Returned as -1 when `include_count=false`.
message
string
Nullable
A message providing additional context about the response.
success
boolean
Nullable
Indicates whether the API call was successful (true) or not (false).
items
array of object (PlatformOrderItems)
An array of shipment items returned as part of the response.
Show
lane
string
Nullable
The lane associated with the order.
page
object (Page)
Show
Response
Loading...

Order State Manager

The State Manager is responsible for handling state logic for entities such as Shipment and Bag. It determines the behavior of the Shipment, including whether shipment breaking should be allowed, and what tasks should be run during particular state transitions, such as generating an invoice ID. Additionally, it controls which states are permissible after certain states. The State Manager is enabled at the application level and if not set it has default behavior, which determines the default flow of a shipment if no custom behavior is set.

Operations
POST
/service/platform/order-manage/v1.0/company/{company_id}/state/manager/config
# Allows esm config updation
GET
/service/platform/order-manage/v1.0/company/{company_id}/state/manager/config
# Retrieves Entity State Manager configuration which includes flags, hooks, and filters, for a specific application within a company's setup.
POST

Allows esm config updation

Update ESM config
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
Request body
data
object (TransitionConfigData)
Show
POST
/service/platform/order-manage/v1.0/company/{company_id}/state/manager/config
Loading...
Response
200
Config updated successfully
Hide
data
array of object (ConfigData)
The result of the config update operation, including whether it was acknowledged, upserted, or inserted.
Show
success
boolean
Indicates whether the config update operation was successful.
Examples
Parameters
Parameters are not required.
Response
Loading...
GET

Retrieves Entity State Manager configuration which includes flags, hooks, and filters, for a specific application within a company's setup.

This endpoint retrieves the ESM (Entity State Manager) configuration for a specific application within a company. The retrieval is based on parameters such as application ID, ordering channel, and entity type. The ESM config stores order processing configuration. Each document in the ESM config collection of Order Management System - OMS's database is a JSON object representing the configuration of a specific application ID. This includes filters, hooks, flags set on different state-transitions. This configuration is picked and accordingly features are enabled.
Parameters
company_idpath
integer
Required
The unique identifier of the company on the platform.
app_idquery
string
The unique identifier of the application.
ordering_channelquery
string
The channel through which orders are placed.
ordering_sourcequery
string
To uniquely identify the source through which order has been placed.
entityquery
string
The entity for which the configuration is applied.
GET
/service/platform/order-manage/v1.0/company/{company_id}/state/manager/config
Loading...
Response
200
This denotes a successful response. ESM config data fetched successfully for given application ID, ordering channel, and entity.
Hide
success
boolean
Indicates whether the request was successful.
data
array of object
An array of ESM configuration objects.
Show
Response
Loading...

Payment

The Payment module is responsible for handling payment methods operations. These will include updating payment mode of entities.

Operations
PUT
/service/platform/order-manage/v1.0/company/{company_id}/payment/update
# Update payment details for an order, its shipments and its bags.
PUT

Update payment details for an order, its shipments and its bags.

Updates the payment mode for an order, its shipments and its bags. This endpoint allows for modifying payment methods, and associated details but not amount.
Parameters
company_idpath
string
Required
Request body
shipment_id
string
Required
Unique identifier used to filter the shipment.
products
array of object (ProductSchema)
List of products attached with the shipment against which the payment methods needs to be overridden.
Show
payment_methods
array of object (PaymentMethodSchema)
List of payment methods that needs to be updated on shipment level.
Show
PUT
/service/platform/order-manage/v1.0/company/{company_id}/payment/update
Loading...
Response
200
422
The request was successful, and the payment mode has been updated for the specified order and shipments.
Hide
success
boolean
message
string
Response
Loading...

Shipment

Shipment represents the physical movement of goods from the seller (or your warehouse) to the customer. It's associated with a specific order and includes details like tracking information, carrier used, weight, dimensions, and estimated delivery date. An Order can contain multiple shipments. Shipments are created based on multiple factors like selling location assigned to that shipment, the packaging material available etc. A shipment will get created whenever there is a partial transition of items also when there is a negative state transition is invoked. Negative state transition can be defined against a state. Currently only some defined states are configured as negative. If any state is to be added as negative state then please contact support team.

Operations
POST
/service/platform/order-manage/v1.0/company/{company_id}/store/reassign-internal
# Reassign location
POST
/service/platform/order-manage/v1.0/company/{company_id}/entity/lock-manager
# Update a shipment lock
PUT
/service/platform/order-manage/v1.0/company/{company_id}/shipment/{shipment_id}/address
# Update shipment address
PUT
/service/platform/order-manage/v1.0/company/{company_id}/shipment/status-internal
# Update a shipment's status
GET
/service/platform/order-manage/v1.0/company/{company_id}/shipment/history
# Get a shipment's history
POST
/service/platform/order-manage/v1.0/company/{company_id}/shipment/history
# Create shipment history
POST
/service/platform/order-manage/v1.0/company/{company_id}/update-packaging-dimension
# Update packaging dimensions
POST
/service/platform/order-manage/v1.0/company/{company_id}/user/send/otp/mobile
# Send user mobile OTP
POST
/service/platform/order-manage/v1.0/company/{company_id}/user/verify/otp
# Verify mobile OTP
POST
/service/platform/order-manage/v1.0/company/{company_id}/einvoice/retry/irn
# Retry E-invoice
GET
/service/platform/order-manage/v1.0/company/{company_id}/tracking
# Track shipment
POST
/service/platform/order-manage/v1.0/company/{company_id}/tracking
# Update shipment tracking
POST
/service/platform/order-manage/v1.0/company/{company_id}/{invoice_type}/id/generate
# Generate and attach invoice Id
GET
/service/platform/order-manage/v1.0/company/{company_id}/shipment/{shipment_id}/packages
# Get shipment packages
POST
/service/platform/order-manage/v1.0/company/{company_id}/shipment/{shipment_id}/packages
# Create shipment packages
PUT
/service/platform/order-manage/v1.0/company/{company_id}/shipment/{shipment_id}/packages
# Update shipment packages
POST
/service/platform/order-manage/v1.0/company/{company_id}/shipment/{shipment_id}/courier-partner/request
# Manually request a courier partner for a shipment.
POST
/service/platform/order-manage/v1.0/company/{company_id}/shipment/{shipment_id}/courier-partner/preference
# Save courier partner preference for a shipment.
GET
/service/platform/order/v1.0/company/{company_id}/shipments-listing
# List shipments
GET
/service/platform/order/v1.0/company/{company_id}/shipment-details
# Get shipment details
GET
/service/platform/order/v1.0/company/{company_id}/listing/count/
# Get listing count
POST

Reassign location

Reassign the shipment to a another location and update its status to 'Store Reassigned.'
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
Request body
store_id
integer
| int32
Required
Unique id of the store.
bag_id
integer
| int32
Nullable
Identifier for the bag associated with the reassignment.
affiliate_order_id
string
Nullable
Identifier for the affiliate order id associated with the reassignment.
affiliate_id
string
Nullable
Identifier for the affiliate id associated with the reassignment.
item_id
string
Nullable
Identifier for the item associated with the reassignment.
fynd_order_id
string
Nullable
Identifier for the fynd order id associated with the reassignment.
Maximum Length : 30
set_id
string
Nullable
Identifier for the set of items associated with the reassignment.
affiliate_bag_id
string
Nullable
Identifiers for bags associated with the reassignment.
reason_ids
array of integer
Nullable
List of reason ids for the reassignment.
mongo_article_id
string
Nullable
Identifier for the article id associated with the reassignment.
POST
/service/platform/order-manage/v1.0/company/{company_id}/store/reassign-internal
Loading...
Response
200
Successfully reassigned location!
Hide
success
boolean
Indicates whether the API call was successful (true) or not (false).
message
string
A descriptive message providing additional information about the API response.
Examples
Parameters
Parameters are not required.
Response
Loading...
POST

Update a shipment lock

Modify shipment/bag lock status and update lock/unlock messages.
Parameters
company_idpath
integer
Required
Unique identifier of a company on the platform.
Request body
entity_type
string
Required
Specifies the type of entity being locked or unlocked.
Enum
action
string
Required
Indicates the action to be performed on the entity.