@gofynd/fdk-client-javascript 3.12.0 → 3.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -240,7 +240,7 @@ export = OrderPlatformModel;
240
240
  * bag, used to identify and reference a particular product in a list. This
241
241
  * helps in pinpointing the exact item being updated or processed.
242
242
  * @property {string} [identifier] - A unique string that serves as the
243
- * products identifier, such as a SKU, barcode, or another distinct code.
243
+ * product's identifier, such as a SKU, barcode, or another distinct code.
244
244
  * This ensures the product is correctly identified and distinguished from
245
245
  * other items in the system.
246
246
  * @property {number} [quantity] - The quantity of the product or item,
@@ -2262,7 +2262,7 @@ export = OrderPlatformModel;
2262
2262
  * associated with a unique processing flow. For example:
2263
2263
  *
2264
2264
  * - "HomeDelivery": The order goes through all the steps needed for delivery,
2265
- * from being packed to arriving at the customers address.
2265
+ * from being packed to arriving at the customer's address.
2266
2266
  * - "PickAtStore": The order is prepared for pickup at the store, skipping
2267
2267
  * shipping steps to make it ready faster for the customer to collect in person.
2268
2268
  * - "Digital": This order type likely refers to orders that involve digital goods
@@ -2582,57 +2582,66 @@ export = OrderPlatformModel;
2582
2582
  */
2583
2583
  /**
2584
2584
  * @typedef PaymentMethodGatewaySchema
2585
- * @property {string} name - Payment Gateway Name.
2585
+ * @property {string} name - Payment gateway name e.g., Razorpay, Stripe, etc.
2586
2586
  * @property {string} [logo]
2587
2587
  */
2588
2588
  /**
2589
2589
  * @typedef SubModeOfPaymentSchema
2590
- * @property {string} name - Name of the Sub MOP Used.
2590
+ * @property {string} name - Name of the sub-mode of payment. For example, if
2591
+ * the payment mode is 'Paytm', a sub-mode could be 'Paytm Wallet'.
2591
2592
  */
2592
2593
  /**
2593
2594
  * @typedef PaymentMethodModeOfPaymentSchema
2594
- * @property {string} name - Payment Mode Name.
2595
- * @property {string} slug - Slug of the Payment Mode.
2595
+ * @property {string} name - Payment mode name e.g., Credit Card, Debit Card,
2596
+ * Net Banking, Wallet, etc.
2597
+ * @property {string} slug - Slug of the payment mode e.g., cc, dc, nb, wl, etc.
2596
2598
  * @property {SubModeOfPaymentSchema} [sub_mode_of_payment]
2597
2599
  */
2598
2600
  /**
2599
2601
  * @typedef PaymentMethodTransactionPartySchema
2600
- * @property {string} refund_bearer - Entity responsible for refunds (e.g., SELLER/FYND).
2601
- * @property {string} collection_bearer - Entity responsible for collection
2602
- * charges (e.g., SELLER/FYND).
2602
+ * @property {string} refund_bearer - Entity responsible for refunding the
2603
+ * amount paid by the customer
2604
+ * @property {string} collection_bearer - Entity responsible for collection of
2605
+ * amount paid by the customer
2603
2606
  */
2604
2607
  /**
2605
2608
  * @typedef LineItemPaymentMethodSchema
2606
2609
  * @property {PaymentMethodGatewaySchema} [gateway]
2607
2610
  * @property {PaymentMethodModeOfPaymentSchema} [mode_of_payment]
2608
- * @property {number} [amount_paid] - Total Amount Paid by this Payment Method.
2611
+ * @property {number} [amount_paid] - Total amount paid by this payment method
2609
2612
  * @property {string} [payment_identifier] - Transaction id
2610
2613
  * @property {PaymentMethodTransactionPartySchema} [transaction_party]
2611
2614
  */
2612
2615
  /**
2613
2616
  * @typedef BundleDetailsSchema
2614
- * @property {boolean} [is_base] - A flag that determines if bag is base bag of bundle.
2617
+ * @property {boolean} [is_base] - This serves as the base item, with all other
2618
+ * items acting as child elements within the bundle to display the hero
2619
+ * product prominently at the top.
2615
2620
  * @property {string[]} [images] - An array of image URLs associated with the bundle.
2616
- * @property {string} [group_id] - Unique group identifier for the bundle.
2621
+ * @property {string} [group_id] - Unique group identifier for the bundle
2622
+ * generated by seller to club the articles
2617
2623
  * @property {string} [name] - Name of the bundle.
2618
- * @property {string} [item_type] - Type of the item (physical_bundle, virtual_bundle).
2619
- * @property {number} [item_id] - Unique identifier for the item.
2624
+ * @property {string} [item_type] - Type of the bundle item
2625
+ * @property {number} [item_id] - Unique identifier of the item.
2620
2626
  * @property {string} [item_code] - Item code for the item.
2621
2627
  * @property {string} [item_name] - Name of the item.
2622
2628
  * @property {string} [seller_identifier] - Identifier for the seller of the bundle.
2623
- * @property {number} [bundle_article_quantity] - Article net_quantity in bundle Product.
2629
+ * @property {number} [bundle_article_quantity] - In orders with multiple
2630
+ * quantities of the same line item, the line item count remains constant, but
2631
+ * multiple bundles can exist. To distinguish between these bundles, the
2632
+ * article quantity must be used.
2624
2633
  * @property {string} [brand_name] - Identifier for the brand name.
2625
2634
  * @property {string} [size] - Size associated with the bundle item.
2626
2635
  */
2627
2636
  /**
2628
2637
  * @typedef LineItemMonetaryValuesSchema
2629
- * @property {number} amount_paid - Amount Paid by Customer
2638
+ * @property {number} amount_paid - Amount paid by the customer
2630
2639
  * @property {number} price_effective - The final effective price after applying
2631
2640
  * discounts, promotional offers, and adjustments.
2632
2641
  * @property {number} [discount] - Discount amount apart from promo and coupon discount
2633
2642
  * @property {number} price_marked - The original marked price of the item
2634
2643
  * before any discounts or promotions.
2635
- * @property {number} [coupon_discount] - Coupon Discount Applied for this Line Item
2644
+ * @property {number} [coupon_discount] - Coupon discount applied for this article
2636
2645
  * @property {number} [cod_charges] - Cash on Delivery Charges Applied for this Article.
2637
2646
  * @property {number} [promo_discount] - Promotion Discount
2638
2647
  * @property {number} [gift_price] - Gift Price
@@ -2640,12 +2649,12 @@ export = OrderPlatformModel;
2640
2649
  */
2641
2650
  /**
2642
2651
  * @typedef DimensionSchema
2643
- * @property {number} height - Height of the Product.
2652
+ * @property {number} height - Height of the product.
2644
2653
  * @property {number} length - Length of the product.
2654
+ * @property {number} width - Width of the product
2645
2655
  * @property {boolean} is_default - Not Modified, meaning these are same as
2646
2656
  * product uploaded while loading catelogue.
2647
2657
  * @property {string} unit - Unit of the measurement used.
2648
- * @property {number} width - Width of the Product.
2649
2658
  */
2650
2659
  /**
2651
2660
  * @typedef GiftDetailsSchema
@@ -2672,14 +2681,20 @@ export = OrderPlatformModel;
2672
2681
  */
2673
2682
  /**
2674
2683
  * @typedef CPOptionsSchema
2675
- * @property {string} [extension_id]
2676
- * @property {string} [scheme_id]
2684
+ * @property {string} [extension_id] - A string that uniquely identifies the
2685
+ * courier partner extension. Refer <a
2686
+ * href='/commerce/sdk/latest/platform/company/serviceability#getCourierPartnerAccount'>Get
2687
+ * courier partner account</a> to get the extension id.
2688
+ * @property {string} [scheme_id] - A string that specifies the unique
2689
+ * identifier for the scheme associated with the account. Refer <a
2690
+ * href='/commerce/sdk/latest/platform/company/serviceability#getCourierPartnerAccount'>Get
2691
+ * courier partner account</a> to get the scheme id.
2677
2692
  * @property {CPAreaCodeSchema} [area_code]
2678
2693
  * @property {boolean} [is_self_ship]
2679
2694
  * @property {number} [max_reattempts_for_delivery_allowed]
2680
2695
  * @property {string} [cp_sort_key] - A sorting key used for categorizing or
2681
2696
  * sorting courier partners, often related to their performance, costs, or
2682
- * some other factor.
2697
+ * some other factor, (example: E-17A-4, E-17A-6, etc.).
2683
2698
  * @property {string} [name] - The name of the courier partner or the delivery
2684
2699
  * agent handling the shipment.
2685
2700
  * @property {CPRiderDetailsSchema} [rider_details]
@@ -2692,7 +2707,7 @@ export = OrderPlatformModel;
2692
2707
  * @typedef CourierPartnerDetailsSchema
2693
2708
  * @property {string} [cp_sort_key] - A sorting key used for categorizing or
2694
2709
  * sorting courier partners, often related to their performance, costs, or
2695
- * some other factor.
2710
+ * some other factor. (example: E-17A-4, E-17A-6, etc.).
2696
2711
  * @property {CPOptionsSchema[]} [cp_options] - Other Available CP's
2697
2712
  * @property {string} scheme_id
2698
2713
  * @property {string} name - The name of the courier partner or the delivery
@@ -2704,7 +2719,7 @@ export = OrderPlatformModel;
2704
2719
  * @property {boolean} using_own_creds - Specifies weather the Seller's Creds or
2705
2720
  * Fynd's Creds are being used.
2706
2721
  * @property {number} [max_reattempts_for_delivery_allowed] - Reattempts Allowed
2707
- * (required for ndr)
2722
+ * (required for NDR)
2708
2723
  * @property {CPTatToDeliverTheShipmentSchema} [tat_to_deliver_the_shipment]
2709
2724
  * @property {boolean} [is_self_ship] - Is every logistic action handled by seller.
2710
2725
  */
@@ -2737,28 +2752,28 @@ export = OrderPlatformModel;
2737
2752
  * can be dispatched (e.g., the earliest possible dispatch date).
2738
2753
  * @property {string} [dispatch_by_date] - The latest date the order must be
2739
2754
  * dispatched to meet delivery expectations.
2740
- * @property {string} [confirm_by_date] - The deadline by which the merchant
2741
- * must confirm the order.
2755
+ * @property {string} [confirm_by_date] - The deadline by which the seller must
2756
+ * confirm the order.
2742
2757
  * @property {CustomerPickupSlotSchema} [customer_pickup_slot]
2743
2758
  * @property {string} [pack_by_date] - The latest time the package should be
2744
2759
  * packed and ready to dispatch.
2745
2760
  */
2746
2761
  /**
2747
2762
  * @typedef LineItemSchema
2748
- * @property {string} [seller_identifier] - Identifier for the seller providing the item.
2749
- * @property {LineItemPaymentMethodSchema[]} payment_methods - Payment Methods
2750
- * Used to fulfil this Order.
2763
+ * @property {string} [seller_identifier] - Identifier of the seller selling the item.
2764
+ * @property {LineItemPaymentMethodSchema[]} payment_methods - Payment methods
2765
+ * used to sell this order.
2751
2766
  * @property {LineItemMonetaryValuesSchema} monetary_values
2752
2767
  * @property {GiftDetailsSchema} [gift_details]
2753
- * @property {string} [special_instructions] - A string for any special
2754
- * instructions or messages.
2768
+ * @property {string} [special_instructions] - These instructions are added by
2769
+ * the customer at checkout for the seller's reference.
2755
2770
  * @property {DimensionSchema} [dimension]
2756
2771
  * @property {number} [quantity] - Quantity of the Line Item
2757
2772
  * @property {string} [external_line_id] - Unique identifier for the LineItem as
2758
2773
  * assigned by an external system. You can use this to map external id to
2759
2774
  * Fynd's generated id
2760
2775
  * @property {BundleDetailsSchema} [bundle_details]
2761
- * @property {Object} [meta] - An object containing metadata related to the shipment.
2776
+ * @property {Object} [meta] - Contains metadata related to the shipment
2762
2777
  */
2763
2778
  /**
2764
2779
  * @typedef CreateOrderShipmentSchema
@@ -2767,20 +2782,17 @@ export = OrderPlatformModel;
2767
2782
  * after receiving an order creation request.
2768
2783
  * @property {LifecycleMessageSchema[]} [shipment_lifecycle_messages] - List of
2769
2784
  * general-purpose messages shown across different points in the shipment's
2770
- * journey at Order Details Screen.
2785
+ * journey at Order Details screen.
2771
2786
  * @property {string[]} [tags] - Tags that can be attached to the shipment for
2772
2787
  * filtering and categorization.
2773
2788
  * @property {string} [type] - The shipment type defining the fulfillment method
2774
2789
  * and processing flow. Each type determines the specific journey a shipment
2775
2790
  * will follow based on operational needs and customer preferences:
2776
- *
2777
- * - "HomeDelivery": Standard delivery to the customer's address, undergoing all
2778
- * typical state transitions from processing to final delivery.
2779
- * - "PickAtStore": Order prepared for in-store pickup, bypassing traditional
2780
- * shipping stages for direct handover to the customer.
2781
- * - "Digital": Orders involving digital goods or services (e.g., software,
2782
- * e-books, subscriptions) delivered electronically.
2783
- *
2791
+ * "HomeDelivery": Standard delivery to the customer's address, undergoing all
2792
+ * typical state transitions from processing to final delivery. "PickAtStore":
2793
+ * Order prepared for in-store pickup, bypassing traditional shipping stages
2794
+ * for direct handover to the customer. "Digital": Orders involving digital
2795
+ * goods or services (e.g., software, e-books, subscriptions) delivered electronically.
2784
2796
  * @property {FulfillmentOptionSchema} [fulfillment_option]
2785
2797
  * @property {string} [external_shipment_id] - Unique identifier for the
2786
2798
  * shipment as assigned by an external system. Use this to map the external ID
@@ -2802,9 +2814,10 @@ export = OrderPlatformModel;
2802
2814
  */
2803
2815
  /**
2804
2816
  * @typedef OrderingCurrencySchema
2805
- * @property {string} currency_code - The ISO 4217 currency code, such as 'INR'
2806
- * for Indian Rupee. This field represents the standardized three-letter code
2807
- * of a currency.
2817
+ * @property {string} currency_code - The <a
2818
+ * href='https://www.iso.org/iso-4217-currency-codes.html'>ISO 4217</a>
2819
+ * currency code, such as 'INR' for Indian Rupee. This field represents the
2820
+ * standardized three-letter code of a currency.
2808
2821
  * @property {string} currency_symbol - The symbol representing the currency,
2809
2822
  * such as '₹' for Indian Rupee. This is used for display purposes alongside
2810
2823
  * currency amounts.
@@ -2830,7 +2843,6 @@ export = OrderPlatformModel;
2830
2843
  /**
2831
2844
  * @typedef CouponOwnershipSchema
2832
2845
  * @property {string} payable_category - Indicates who issued the coupon
2833
- * (MARKETPLACE or SELLER).
2834
2846
  */
2835
2847
  /**
2836
2848
  * @typedef CouponSchema
@@ -2844,40 +2856,38 @@ export = OrderPlatformModel;
2844
2856
  */
2845
2857
  /**
2846
2858
  * @typedef BillingDetailsSchema
2847
- * @property {string} [first_name] - First Name of the User
2859
+ * @property {string} [first_name] - First name of the customer
2848
2860
  * @property {string} [phone_code] - Country phone code ex: +91
2849
- * @property {string} [country] - Country of the User
2850
- * @property {string} [city] - City of the User
2851
- * @property {string} [pincode] - Pincode of the User
2852
- * @property {string} [last_name] - Last Name of the User
2853
- * @property {string} [mobile_number] - Primary Phone number of the User
2854
- * @property {string} [email] - Primary Email of the User
2855
- * @property {string} [state] - State of the User
2856
- * @property {string} [alternate_mobile_number] - Alternate Mobile Number
2857
- * @property {string} [address] - Full Address of the Billing User
2858
- * @property {string} [middle_name] - A string containing the customer's middle name.
2859
- * @property {string} [title] - A string representing the customer's title or prefix.
2860
- * @property {string} [house_no] - A string representing the house or apartment
2861
- * number of the customer.
2861
+ * @property {string} [country] - Country of the customer
2862
+ * @property {string} [city] - City of the customer
2863
+ * @property {string} [pincode] - Pincode of the customer
2864
+ * @property {string} [last_name] - Last name of the customer
2865
+ * @property {string} [mobile_number] - Primary phone number of the customer
2866
+ * @property {string} [email] - Primary email of the customer
2867
+ * @property {string} [state] - State of the customer
2868
+ * @property {string} [alternate_mobile_number] - Alternate mobile number
2869
+ * @property {string} [address] - Billing address of the customer
2870
+ * @property {string} [middle_name] - Customer's middle name.
2871
+ * @property {string} [title] - Customer's title or prefix.
2872
+ * @property {string} [house_no] - House or apartment number of the customer.
2862
2873
  * @property {GeoLocationSchema} [geo_location]
2863
- * @property {string} [gender] - Gender of user
2864
- * @property {string} [landmark] - A string representing a landmark or reference
2865
- * point near the customer's location.
2866
- * @property {string} [address_type] - A string representing the address type in
2867
- * the seller's system.
2868
- * @property {string} [state_code] - A string representing the state code of the
2869
- * customer's location.
2870
- * @property {string} [floor_no] - A string representing the floor number of the
2874
+ * @property {string} [gender] - Gender of customer
2875
+ * @property {string} [landmark] - Landmark or reference point near the
2871
2876
  * customer's location.
2877
+ * @property {string} [address_type] - Address type in the seller's system.
2878
+ * @property {string} [state_code] - State code of the customer's location.
2879
+ * @property {string} [floor_no] - Floor number of the customer's location.
2872
2880
  * @property {string} [alternate_email] - Alternate Email Address
2873
- * @property {string} [address1] - A string representing the first line of the address.
2874
- * @property {string} [address2] - A string representing the second line of the address.
2881
+ * @property {string} [address1] - First line of the address.
2882
+ * @property {string} [address2] - Second line of the address.
2875
2883
  * @property {string} [country_iso_code] - Specifies the country's unique
2876
- * identifier ollowing the ISO 3166-1 alpha-2 standard. This two-letter code
2884
+ * identifier allowing the ISO 3166-1 alpha-2 standard. This two-letter code
2877
2885
  * is crucial for distinguishing countries in international transactions, data
2878
2886
  * processing, and shipping logistics.
2879
- * @property {string} [user_id] - The unique identifier assigned to the user.
2880
- * refer /user in platform documentation to get more details.
2887
+ * @property {string} [user_id] - The unique identifier assigned to the
2888
+ * customer. Refer <a
2889
+ * href='/commerce/sdk/latest/platform/application/user#customer'>Customer</a>
2890
+ * to get more details.
2881
2891
  * @property {string} [area_code] - Area Code
2882
2892
  * @property {string} [area_code_slug]
2883
2893
  * @property {string} [country_phone_code]
@@ -2888,49 +2898,48 @@ export = OrderPlatformModel;
2888
2898
  */
2889
2899
  /**
2890
2900
  * @typedef ShippingDetailsSchema
2891
- * @property {string} [first_name] - First Name of the User
2901
+ * @property {string} [first_name] - First name of the customer
2892
2902
  * @property {string} [phone_code] - Country phone code ex: +91
2893
- * @property {string} [country] - Country of the User
2894
- * @property {string} [city] - City of the User
2895
- * @property {string} [pincode] - Pincode of the User
2896
- * @property {string} [last_name] - Last Name of the User
2897
- * @property {string} [mobile_number] - Primary Phone number of the User
2898
- * @property {string} [email] - Primary Email of the User
2899
- * @property {string} [state] - State of the User
2900
- * @property {string} [alternate_mobile_number] - Alternate Mobile Number
2901
- * @property {string} [address] - Full Address of the Billing User
2902
- * @property {string} [middle_name] - A string containing the customer's middle name.
2903
- * @property {string} [title] - A string representing the customer's title or prefix.
2904
- * @property {string} [house_no] - A string representing the house or apartment
2905
- * number of the customer.
2903
+ * @property {string} [country] - Country of the customer
2904
+ * @property {string} [city] - City of the customer
2905
+ * @property {string} [pincode] - Pincode of the customer
2906
+ * @property {string} [last_name] - Last name of the customer
2907
+ * @property {string} [mobile_number] - Primary phone number of the customer
2908
+ * @property {string} [email] - Primary email of the customer
2909
+ * @property {string} [state] - State of the customer
2910
+ * @property {string} [alternate_mobile_number] - Alternate mobile number
2911
+ * @property {string} [address] - Shipping address of the customer
2912
+ * @property {string} [middle_name] - Customer's middle name.
2913
+ * @property {string} [title] - Customer's title or prefix.
2914
+ * @property {string} [house_no] - House or apartment number of the customer.
2906
2915
  * @property {GeoLocationSchema} [geo_location]
2907
- * @property {string} [gender] - Gender of user
2908
- * @property {string} [landmark] - A string representing a landmark or reference
2909
- * point near the customer's location.
2916
+ * @property {string} [gender] - Gender of customer
2917
+ * @property {string} [landmark] - Landmark or reference point near the
2918
+ * customer's location.
2910
2919
  * @property {string} [address_type] - A string representing the address type in
2911
2920
  * the seller's system.
2912
- * @property {string} [state_code] - A string representing the state code of the
2913
- * customer's location.
2914
- * @property {string} [floor_no] - A string representing the floor number of the
2915
- * customer's location.
2921
+ * @property {string} [state_code] - State code of the customer's location.
2922
+ * @property {string} [floor_no] - Floor number of the customer's location.
2916
2923
  * @property {string} [alternate_email] - Alternate Email Address
2917
- * @property {string} [address1] - A string representing the first line of the address.
2918
- * @property {string} [address2] - A string representing the second line of the address.
2924
+ * @property {string} [address1] - First line of the address
2925
+ * @property {string} [address2] - Second line of the address
2919
2926
  * @property {string} [country_iso_code] - Specifies the country's unique
2920
- * identifier ollowing the ISO 3166-1 alpha-2 standard. This two-letter code
2927
+ * identifier allowing the ISO 3166-1 alpha-2 standard. This two-letter code
2921
2928
  * is crucial for distinguishing countries in international transactions, data
2922
2929
  * processing, and shipping logistics.
2923
- * @property {string} [user_id] - The unique identifier assigned to the user.
2924
- * refer /user in platform documentation to get more details.
2930
+ * @property {string} [user_id] - The unique identifier assigned to the
2931
+ * customer. Refer <a
2932
+ * href='/commerce/sdk/latest/platform/application/user#customer'>Customer</a>
2933
+ * in platform documentation to get more details. details.
2925
2934
  * @property {string} [area_code] - Area Code
2926
2935
  * @property {string} [area_code_slug]
2927
2936
  * @property {string} [country_phone_code]
2928
2937
  */
2929
2938
  /**
2930
2939
  * @typedef UserDetailsSchema
2931
- * @property {string} [gstin] - The user's GSTIN (Goods and Services Tax
2940
+ * @property {string} [gstin] - The customer's GSTIN (Goods and Services Tax
2932
2941
  * Identification Number).
2933
- * @property {string} [pan_no] - The user's PAN (Permanent Account Number).
2942
+ * @property {string} [pan_no] - The customer's PAN (Permanent Account Number).
2934
2943
  */
2935
2944
  /**
2936
2945
  * @typedef LifecycleMessageSchema
@@ -2940,8 +2949,8 @@ export = OrderPlatformModel;
2940
2949
  * message bar.
2941
2950
  * @property {string[]} states - List of OMS states at which the message should
2942
2951
  * be visible.
2943
- * @property {number} priority - Determines the message display sequence, with 1
2944
- * being the highest priority.
2952
+ * @property {number} priority - Determines the message display sequence, with
2953
+ * '1' being the highest priority.
2945
2954
  */
2946
2955
  /**
2947
2956
  * @typedef CreateOrderRequestSchema
@@ -2967,7 +2976,7 @@ export = OrderPlatformModel;
2967
2976
  * order by an external system or service.
2968
2977
  * @property {UserDetailsSchema} [user_details]
2969
2978
  * @property {LifecycleMessageSchema[]} [order_lifecycle_messages] - List of
2970
- * order lifecycle messages to be displayed to the user at Order Details.
2979
+ * order lifecycle messages to be displayed to the seller at Order Details.
2971
2980
  * @property {string} [channel_application_id] - Identifies the application from
2972
2981
  * which the order was created. Pass this when it differs from the fulfilling
2973
2982
  * company's application.
@@ -2977,6 +2986,9 @@ export = OrderPlatformModel;
2977
2986
  * placed. Required when the order is placed from one company but fulfilled by another.
2978
2987
  * @property {boolean} [is_draft] - Indicates whether the order is a draft.
2979
2988
  * Draft orders will be moved to upcoming state instead of placed status.
2989
+ * @property {Object} [meta] - Metadata related to the order may include
2990
+ * additional, dynamic information that provides further context about the
2991
+ * order. This information can also be viewed on the Order or Shipment Details page.
2980
2992
  */
2981
2993
  /**
2982
2994
  * @typedef Page
@@ -6013,7 +6025,7 @@ type ProductsDataUpdatesFilters = {
6013
6025
  line_number?: number;
6014
6026
  /**
6015
6027
  * - A unique string that serves as the
6016
- * products identifier, such as a SKU, barcode, or another distinct code.
6028
+ * product's identifier, such as a SKU, barcode, or another distinct code.
6017
6029
  * This ensures the product is correctly identified and distinguished from
6018
6030
  * other items in the system.
6019
6031
  */
@@ -9997,7 +10009,7 @@ type Filter = {
9997
10009
  * associated with a unique processing flow. For example:
9998
10010
  *
9999
10011
  * - "HomeDelivery": The order goes through all the steps needed for delivery,
10000
- * from being packed to arriving at the customers address.
10012
+ * from being packed to arriving at the customer's address.
10001
10013
  * - "PickAtStore": The order is prepared for pickup at the store, skipping
10002
10014
  * shipping steps to make it ready faster for the customer to collect in person.
10003
10015
  * - "Digital": This order type likely refers to orders that involve digital goods
@@ -10664,7 +10676,7 @@ type FulfillmentOptionSchema = {
10664
10676
  declare function PaymentMethodGatewaySchema(): PaymentMethodGatewaySchema;
10665
10677
  type PaymentMethodGatewaySchema = {
10666
10678
  /**
10667
- * - Payment Gateway Name.
10679
+ * - Payment gateway name e.g., Razorpay, Stripe, etc.
10668
10680
  */
10669
10681
  name: string;
10670
10682
  logo?: string;
@@ -10673,7 +10685,8 @@ type PaymentMethodGatewaySchema = {
10673
10685
  declare function SubModeOfPaymentSchema(): SubModeOfPaymentSchema;
10674
10686
  type SubModeOfPaymentSchema = {
10675
10687
  /**
10676
- * - Name of the Sub MOP Used.
10688
+ * - Name of the sub-mode of payment. For example, if
10689
+ * the payment mode is 'Paytm', a sub-mode could be 'Paytm Wallet'.
10677
10690
  */
10678
10691
  name: string;
10679
10692
  };
@@ -10681,11 +10694,12 @@ type SubModeOfPaymentSchema = {
10681
10694
  declare function PaymentMethodModeOfPaymentSchema(): PaymentMethodModeOfPaymentSchema;
10682
10695
  type PaymentMethodModeOfPaymentSchema = {
10683
10696
  /**
10684
- * - Payment Mode Name.
10697
+ * - Payment mode name e.g., Credit Card, Debit Card,
10698
+ * Net Banking, Wallet, etc.
10685
10699
  */
10686
10700
  name: string;
10687
10701
  /**
10688
- * - Slug of the Payment Mode.
10702
+ * - Slug of the payment mode e.g., cc, dc, nb, wl, etc.
10689
10703
  */
10690
10704
  slug: string;
10691
10705
  sub_mode_of_payment?: SubModeOfPaymentSchema;
@@ -10694,12 +10708,13 @@ type PaymentMethodModeOfPaymentSchema = {
10694
10708
  declare function PaymentMethodTransactionPartySchema(): PaymentMethodTransactionPartySchema;
10695
10709
  type PaymentMethodTransactionPartySchema = {
10696
10710
  /**
10697
- * - Entity responsible for refunds (e.g., SELLER/FYND).
10711
+ * - Entity responsible for refunding the
10712
+ * amount paid by the customer
10698
10713
  */
10699
10714
  refund_bearer: string;
10700
10715
  /**
10701
- * - Entity responsible for collection
10702
- * charges (e.g., SELLER/FYND).
10716
+ * - Entity responsible for collection of
10717
+ * amount paid by the customer
10703
10718
  */
10704
10719
  collection_bearer: string;
10705
10720
  };
@@ -10709,7 +10724,7 @@ type LineItemPaymentMethodSchema = {
10709
10724
  gateway?: PaymentMethodGatewaySchema;
10710
10725
  mode_of_payment?: PaymentMethodModeOfPaymentSchema;
10711
10726
  /**
10712
- * - Total Amount Paid by this Payment Method.
10727
+ * - Total amount paid by this payment method
10713
10728
  */
10714
10729
  amount_paid?: number;
10715
10730
  /**
@@ -10722,7 +10737,9 @@ type LineItemPaymentMethodSchema = {
10722
10737
  declare function BundleDetailsSchema(): BundleDetailsSchema;
10723
10738
  type BundleDetailsSchema = {
10724
10739
  /**
10725
- * - A flag that determines if bag is base bag of bundle.
10740
+ * - This serves as the base item, with all other
10741
+ * items acting as child elements within the bundle to display the hero
10742
+ * product prominently at the top.
10726
10743
  */
10727
10744
  is_base?: boolean;
10728
10745
  /**
@@ -10730,7 +10747,8 @@ type BundleDetailsSchema = {
10730
10747
  */
10731
10748
  images?: string[];
10732
10749
  /**
10733
- * - Unique group identifier for the bundle.
10750
+ * - Unique group identifier for the bundle
10751
+ * generated by seller to club the articles
10734
10752
  */
10735
10753
  group_id?: string;
10736
10754
  /**
@@ -10738,11 +10756,11 @@ type BundleDetailsSchema = {
10738
10756
  */
10739
10757
  name?: string;
10740
10758
  /**
10741
- * - Type of the item (physical_bundle, virtual_bundle).
10759
+ * - Type of the bundle item
10742
10760
  */
10743
10761
  item_type?: string;
10744
10762
  /**
10745
- * - Unique identifier for the item.
10763
+ * - Unique identifier of the item.
10746
10764
  */
10747
10765
  item_id?: number;
10748
10766
  /**
@@ -10758,7 +10776,10 @@ type BundleDetailsSchema = {
10758
10776
  */
10759
10777
  seller_identifier?: string;
10760
10778
  /**
10761
- * - Article net_quantity in bundle Product.
10779
+ * - In orders with multiple
10780
+ * quantities of the same line item, the line item count remains constant, but
10781
+ * multiple bundles can exist. To distinguish between these bundles, the
10782
+ * article quantity must be used.
10762
10783
  */
10763
10784
  bundle_article_quantity?: number;
10764
10785
  /**
@@ -10774,7 +10795,7 @@ type BundleDetailsSchema = {
10774
10795
  declare function LineItemMonetaryValuesSchema(): LineItemMonetaryValuesSchema;
10775
10796
  type LineItemMonetaryValuesSchema = {
10776
10797
  /**
10777
- * - Amount Paid by Customer
10798
+ * - Amount paid by the customer
10778
10799
  */
10779
10800
  amount_paid: number;
10780
10801
  /**
@@ -10792,7 +10813,7 @@ type LineItemMonetaryValuesSchema = {
10792
10813
  */
10793
10814
  price_marked: number;
10794
10815
  /**
10795
- * - Coupon Discount Applied for this Line Item
10816
+ * - Coupon discount applied for this article
10796
10817
  */
10797
10818
  coupon_discount?: number;
10798
10819
  /**
@@ -10816,13 +10837,17 @@ type LineItemMonetaryValuesSchema = {
10816
10837
  declare function DimensionSchema(): DimensionSchema;
10817
10838
  type DimensionSchema = {
10818
10839
  /**
10819
- * - Height of the Product.
10840
+ * - Height of the product.
10820
10841
  */
10821
10842
  height: number;
10822
10843
  /**
10823
10844
  * - Length of the product.
10824
10845
  */
10825
10846
  length: number;
10847
+ /**
10848
+ * - Width of the product
10849
+ */
10850
+ width: number;
10826
10851
  /**
10827
10852
  * - Not Modified, meaning these are same as
10828
10853
  * product uploaded while loading catelogue.
@@ -10832,10 +10857,6 @@ type DimensionSchema = {
10832
10857
  * - Unit of the measurement used.
10833
10858
  */
10834
10859
  unit: string;
10835
- /**
10836
- * - Width of the Product.
10837
- */
10838
- width: number;
10839
10860
  };
10840
10861
  /** @returns {GiftDetailsSchema} */
10841
10862
  declare function GiftDetailsSchema(): GiftDetailsSchema;
@@ -10873,7 +10894,19 @@ type CPTatToDeliverTheShipmentSchema = {
10873
10894
  /** @returns {CPOptionsSchema} */
10874
10895
  declare function CPOptionsSchema(): CPOptionsSchema;
10875
10896
  type CPOptionsSchema = {
10897
+ /**
10898
+ * - A string that uniquely identifies the
10899
+ * courier partner extension. Refer <a
10900
+ * href='/commerce/sdk/latest/platform/company/serviceability#getCourierPartnerAccount'>Get
10901
+ * courier partner account</a> to get the extension id.
10902
+ */
10876
10903
  extension_id?: string;
10904
+ /**
10905
+ * - A string that specifies the unique
10906
+ * identifier for the scheme associated with the account. Refer <a
10907
+ * href='/commerce/sdk/latest/platform/company/serviceability#getCourierPartnerAccount'>Get
10908
+ * courier partner account</a> to get the scheme id.
10909
+ */
10877
10910
  scheme_id?: string;
10878
10911
  area_code?: CPAreaCodeSchema;
10879
10912
  is_self_ship?: boolean;
@@ -10881,7 +10914,7 @@ type CPOptionsSchema = {
10881
10914
  /**
10882
10915
  * - A sorting key used for categorizing or
10883
10916
  * sorting courier partners, often related to their performance, costs, or
10884
- * some other factor.
10917
+ * some other factor, (example: E-17A-4, E-17A-6, etc.).
10885
10918
  */
10886
10919
  cp_sort_key?: string;
10887
10920
  /**
@@ -10907,7 +10940,7 @@ type CourierPartnerDetailsSchema = {
10907
10940
  /**
10908
10941
  * - A sorting key used for categorizing or
10909
10942
  * sorting courier partners, often related to their performance, costs, or
10910
- * some other factor.
10943
+ * some other factor. (example: E-17A-4, E-17A-6, etc.).
10911
10944
  */
10912
10945
  cp_sort_key?: string;
10913
10946
  /**
@@ -10934,7 +10967,7 @@ type CourierPartnerDetailsSchema = {
10934
10967
  using_own_creds: boolean;
10935
10968
  /**
10936
10969
  * - Reattempts Allowed
10937
- * (required for ndr)
10970
+ * (required for NDR)
10938
10971
  */
10939
10972
  max_reattempts_for_delivery_allowed?: number;
10940
10973
  tat_to_deliver_the_shipment?: CPTatToDeliverTheShipmentSchema;
@@ -10996,8 +11029,8 @@ type OrderFulfillmentTimelineSchema = {
10996
11029
  */
10997
11030
  dispatch_by_date?: string;
10998
11031
  /**
10999
- * - The deadline by which the merchant
11000
- * must confirm the order.
11032
+ * - The deadline by which the seller must
11033
+ * confirm the order.
11001
11034
  */
11002
11035
  confirm_by_date?: string;
11003
11036
  customer_pickup_slot?: CustomerPickupSlotSchema;
@@ -11011,19 +11044,19 @@ type OrderFulfillmentTimelineSchema = {
11011
11044
  declare function LineItemSchema(): LineItemSchema;
11012
11045
  type LineItemSchema = {
11013
11046
  /**
11014
- * - Identifier for the seller providing the item.
11047
+ * - Identifier of the seller selling the item.
11015
11048
  */
11016
11049
  seller_identifier?: string;
11017
11050
  /**
11018
- * - Payment Methods
11019
- * Used to fulfil this Order.
11051
+ * - Payment methods
11052
+ * used to sell this order.
11020
11053
  */
11021
11054
  payment_methods: LineItemPaymentMethodSchema[];
11022
11055
  monetary_values: LineItemMonetaryValuesSchema;
11023
11056
  gift_details?: GiftDetailsSchema;
11024
11057
  /**
11025
- * - A string for any special
11026
- * instructions or messages.
11058
+ * - These instructions are added by
11059
+ * the customer at checkout for the seller's reference.
11027
11060
  */
11028
11061
  special_instructions?: string;
11029
11062
  dimension?: DimensionSchema;
@@ -11039,7 +11072,7 @@ type LineItemSchema = {
11039
11072
  external_line_id?: string;
11040
11073
  bundle_details?: BundleDetailsSchema;
11041
11074
  /**
11042
- * - An object containing metadata related to the shipment.
11075
+ * - Contains metadata related to the shipment
11043
11076
  */
11044
11077
  meta?: any;
11045
11078
  };
@@ -11055,7 +11088,7 @@ type CreateOrderShipmentSchema = {
11055
11088
  /**
11056
11089
  * - List of
11057
11090
  * general-purpose messages shown across different points in the shipment's
11058
- * journey at Order Details Screen.
11091
+ * journey at Order Details screen.
11059
11092
  */
11060
11093
  shipment_lifecycle_messages?: LifecycleMessageSchema[];
11061
11094
  /**
@@ -11067,13 +11100,11 @@ type CreateOrderShipmentSchema = {
11067
11100
  * - The shipment type defining the fulfillment method
11068
11101
  * and processing flow. Each type determines the specific journey a shipment
11069
11102
  * will follow based on operational needs and customer preferences:
11070
- *
11071
- * - "HomeDelivery": Standard delivery to the customer's address, undergoing all
11072
- * typical state transitions from processing to final delivery.
11073
- * - "PickAtStore": Order prepared for in-store pickup, bypassing traditional
11074
- * shipping stages for direct handover to the customer.
11075
- * - "Digital": Orders involving digital goods or services (e.g., software,
11076
- * e-books, subscriptions) delivered electronically.
11103
+ * "HomeDelivery": Standard delivery to the customer's address, undergoing all
11104
+ * typical state transitions from processing to final delivery. "PickAtStore":
11105
+ * Order prepared for in-store pickup, bypassing traditional shipping stages
11106
+ * for direct handover to the customer. "Digital": Orders involving digital
11107
+ * goods or services (e.g., software, e-books, subscriptions) delivered electronically.
11077
11108
  */
11078
11109
  type?: string;
11079
11110
  fulfillment_option?: FulfillmentOptionSchema;
@@ -11120,9 +11151,10 @@ type CreateOrderShipmentSchema = {
11120
11151
  declare function OrderingCurrencySchema(): OrderingCurrencySchema;
11121
11152
  type OrderingCurrencySchema = {
11122
11153
  /**
11123
- * - The ISO 4217 currency code, such as 'INR'
11124
- * for Indian Rupee. This field represents the standardized three-letter code
11125
- * of a currency.
11154
+ * - The <a
11155
+ * href='https://www.iso.org/iso-4217-currency-codes.html'>ISO 4217</a>
11156
+ * currency code, such as 'INR' for Indian Rupee. This field represents the
11157
+ * standardized three-letter code of a currency.
11126
11158
  */
11127
11159
  currency_code: string;
11128
11160
  /**
@@ -11169,7 +11201,6 @@ declare function CouponOwnershipSchema(): CouponOwnershipSchema;
11169
11201
  type CouponOwnershipSchema = {
11170
11202
  /**
11171
11203
  * - Indicates who issued the coupon
11172
- * (MARKETPLACE or SELLER).
11173
11204
  */
11174
11205
  payable_category: string;
11175
11206
  };
@@ -11200,7 +11231,7 @@ type CouponSchema = {
11200
11231
  declare function BillingDetailsSchema(): BillingDetailsSchema;
11201
11232
  type BillingDetailsSchema = {
11202
11233
  /**
11203
- * - First Name of the User
11234
+ * - First name of the customer
11204
11235
  */
11205
11236
  first_name?: string;
11206
11237
  /**
@@ -11208,77 +11239,73 @@ type BillingDetailsSchema = {
11208
11239
  */
11209
11240
  phone_code?: string;
11210
11241
  /**
11211
- * - Country of the User
11242
+ * - Country of the customer
11212
11243
  */
11213
11244
  country?: string;
11214
11245
  /**
11215
- * - City of the User
11246
+ * - City of the customer
11216
11247
  */
11217
11248
  city?: string;
11218
11249
  /**
11219
- * - Pincode of the User
11250
+ * - Pincode of the customer
11220
11251
  */
11221
11252
  pincode?: string;
11222
11253
  /**
11223
- * - Last Name of the User
11254
+ * - Last name of the customer
11224
11255
  */
11225
11256
  last_name?: string;
11226
11257
  /**
11227
- * - Primary Phone number of the User
11258
+ * - Primary phone number of the customer
11228
11259
  */
11229
11260
  mobile_number?: string;
11230
11261
  /**
11231
- * - Primary Email of the User
11262
+ * - Primary email of the customer
11232
11263
  */
11233
11264
  email?: string;
11234
11265
  /**
11235
- * - State of the User
11266
+ * - State of the customer
11236
11267
  */
11237
11268
  state?: string;
11238
11269
  /**
11239
- * - Alternate Mobile Number
11270
+ * - Alternate mobile number
11240
11271
  */
11241
11272
  alternate_mobile_number?: string;
11242
11273
  /**
11243
- * - Full Address of the Billing User
11274
+ * - Billing address of the customer
11244
11275
  */
11245
11276
  address?: string;
11246
11277
  /**
11247
- * - A string containing the customer's middle name.
11278
+ * - Customer's middle name.
11248
11279
  */
11249
11280
  middle_name?: string;
11250
11281
  /**
11251
- * - A string representing the customer's title or prefix.
11282
+ * - Customer's title or prefix.
11252
11283
  */
11253
11284
  title?: string;
11254
11285
  /**
11255
- * - A string representing the house or apartment
11256
- * number of the customer.
11286
+ * - House or apartment number of the customer.
11257
11287
  */
11258
11288
  house_no?: string;
11259
11289
  geo_location?: GeoLocationSchema;
11260
11290
  /**
11261
- * - Gender of user
11291
+ * - Gender of customer
11262
11292
  */
11263
11293
  gender?: string;
11264
11294
  /**
11265
- * - A string representing a landmark or reference
11266
- * point near the customer's location.
11295
+ * - Landmark or reference point near the
11296
+ * customer's location.
11267
11297
  */
11268
11298
  landmark?: string;
11269
11299
  /**
11270
- * - A string representing the address type in
11271
- * the seller's system.
11300
+ * - Address type in the seller's system.
11272
11301
  */
11273
11302
  address_type?: string;
11274
11303
  /**
11275
- * - A string representing the state code of the
11276
- * customer's location.
11304
+ * - State code of the customer's location.
11277
11305
  */
11278
11306
  state_code?: string;
11279
11307
  /**
11280
- * - A string representing the floor number of the
11281
- * customer's location.
11308
+ * - Floor number of the customer's location.
11282
11309
  */
11283
11310
  floor_no?: string;
11284
11311
  /**
@@ -11286,23 +11313,25 @@ type BillingDetailsSchema = {
11286
11313
  */
11287
11314
  alternate_email?: string;
11288
11315
  /**
11289
- * - A string representing the first line of the address.
11316
+ * - First line of the address.
11290
11317
  */
11291
11318
  address1?: string;
11292
11319
  /**
11293
- * - A string representing the second line of the address.
11320
+ * - Second line of the address.
11294
11321
  */
11295
11322
  address2?: string;
11296
11323
  /**
11297
11324
  * - Specifies the country's unique
11298
- * identifier ollowing the ISO 3166-1 alpha-2 standard. This two-letter code
11325
+ * identifier allowing the ISO 3166-1 alpha-2 standard. This two-letter code
11299
11326
  * is crucial for distinguishing countries in international transactions, data
11300
11327
  * processing, and shipping logistics.
11301
11328
  */
11302
11329
  country_iso_code?: string;
11303
11330
  /**
11304
- * - The unique identifier assigned to the user.
11305
- * refer /user in platform documentation to get more details.
11331
+ * - The unique identifier assigned to the
11332
+ * customer. Refer <a
11333
+ * href='/commerce/sdk/latest/platform/application/user#customer'>Customer</a>
11334
+ * to get more details.
11306
11335
  */
11307
11336
  user_id?: string;
11308
11337
  /**
@@ -11324,7 +11353,7 @@ type CPConfigurationSchema = {
11324
11353
  declare function ShippingDetailsSchema(): ShippingDetailsSchema;
11325
11354
  type ShippingDetailsSchema = {
11326
11355
  /**
11327
- * - First Name of the User
11356
+ * - First name of the customer
11328
11357
  */
11329
11358
  first_name?: string;
11330
11359
  /**
@@ -11332,62 +11361,61 @@ type ShippingDetailsSchema = {
11332
11361
  */
11333
11362
  phone_code?: string;
11334
11363
  /**
11335
- * - Country of the User
11364
+ * - Country of the customer
11336
11365
  */
11337
11366
  country?: string;
11338
11367
  /**
11339
- * - City of the User
11368
+ * - City of the customer
11340
11369
  */
11341
11370
  city?: string;
11342
11371
  /**
11343
- * - Pincode of the User
11372
+ * - Pincode of the customer
11344
11373
  */
11345
11374
  pincode?: string;
11346
11375
  /**
11347
- * - Last Name of the User
11376
+ * - Last name of the customer
11348
11377
  */
11349
11378
  last_name?: string;
11350
11379
  /**
11351
- * - Primary Phone number of the User
11380
+ * - Primary phone number of the customer
11352
11381
  */
11353
11382
  mobile_number?: string;
11354
11383
  /**
11355
- * - Primary Email of the User
11384
+ * - Primary email of the customer
11356
11385
  */
11357
11386
  email?: string;
11358
11387
  /**
11359
- * - State of the User
11388
+ * - State of the customer
11360
11389
  */
11361
11390
  state?: string;
11362
11391
  /**
11363
- * - Alternate Mobile Number
11392
+ * - Alternate mobile number
11364
11393
  */
11365
11394
  alternate_mobile_number?: string;
11366
11395
  /**
11367
- * - Full Address of the Billing User
11396
+ * - Shipping address of the customer
11368
11397
  */
11369
11398
  address?: string;
11370
11399
  /**
11371
- * - A string containing the customer's middle name.
11400
+ * - Customer's middle name.
11372
11401
  */
11373
11402
  middle_name?: string;
11374
11403
  /**
11375
- * - A string representing the customer's title or prefix.
11404
+ * - Customer's title or prefix.
11376
11405
  */
11377
11406
  title?: string;
11378
11407
  /**
11379
- * - A string representing the house or apartment
11380
- * number of the customer.
11408
+ * - House or apartment number of the customer.
11381
11409
  */
11382
11410
  house_no?: string;
11383
11411
  geo_location?: GeoLocationSchema;
11384
11412
  /**
11385
- * - Gender of user
11413
+ * - Gender of customer
11386
11414
  */
11387
11415
  gender?: string;
11388
11416
  /**
11389
- * - A string representing a landmark or reference
11390
- * point near the customer's location.
11417
+ * - Landmark or reference point near the
11418
+ * customer's location.
11391
11419
  */
11392
11420
  landmark?: string;
11393
11421
  /**
@@ -11396,13 +11424,11 @@ type ShippingDetailsSchema = {
11396
11424
  */
11397
11425
  address_type?: string;
11398
11426
  /**
11399
- * - A string representing the state code of the
11400
- * customer's location.
11427
+ * - State code of the customer's location.
11401
11428
  */
11402
11429
  state_code?: string;
11403
11430
  /**
11404
- * - A string representing the floor number of the
11405
- * customer's location.
11431
+ * - Floor number of the customer's location.
11406
11432
  */
11407
11433
  floor_no?: string;
11408
11434
  /**
@@ -11410,23 +11436,25 @@ type ShippingDetailsSchema = {
11410
11436
  */
11411
11437
  alternate_email?: string;
11412
11438
  /**
11413
- * - A string representing the first line of the address.
11439
+ * - First line of the address
11414
11440
  */
11415
11441
  address1?: string;
11416
11442
  /**
11417
- * - A string representing the second line of the address.
11443
+ * - Second line of the address
11418
11444
  */
11419
11445
  address2?: string;
11420
11446
  /**
11421
11447
  * - Specifies the country's unique
11422
- * identifier ollowing the ISO 3166-1 alpha-2 standard. This two-letter code
11448
+ * identifier allowing the ISO 3166-1 alpha-2 standard. This two-letter code
11423
11449
  * is crucial for distinguishing countries in international transactions, data
11424
11450
  * processing, and shipping logistics.
11425
11451
  */
11426
11452
  country_iso_code?: string;
11427
11453
  /**
11428
- * - The unique identifier assigned to the user.
11429
- * refer /user in platform documentation to get more details.
11454
+ * - The unique identifier assigned to the
11455
+ * customer. Refer <a
11456
+ * href='/commerce/sdk/latest/platform/application/user#customer'>Customer</a>
11457
+ * in platform documentation to get more details. details.
11430
11458
  */
11431
11459
  user_id?: string;
11432
11460
  /**
@@ -11440,12 +11468,12 @@ type ShippingDetailsSchema = {
11440
11468
  declare function UserDetailsSchema(): UserDetailsSchema;
11441
11469
  type UserDetailsSchema = {
11442
11470
  /**
11443
- * - The user's GSTIN (Goods and Services Tax
11471
+ * - The customer's GSTIN (Goods and Services Tax
11444
11472
  * Identification Number).
11445
11473
  */
11446
11474
  gstin?: string;
11447
11475
  /**
11448
- * - The user's PAN (Permanent Account Number).
11476
+ * - The customer's PAN (Permanent Account Number).
11449
11477
  */
11450
11478
  pan_no?: string;
11451
11479
  };
@@ -11468,8 +11496,8 @@ type LifecycleMessageSchema = {
11468
11496
  */
11469
11497
  states: string[];
11470
11498
  /**
11471
- * - Determines the message display sequence, with 1
11472
- * being the highest priority.
11499
+ * - Determines the message display sequence, with
11500
+ * '1' being the highest priority.
11473
11501
  */
11474
11502
  priority: number;
11475
11503
  };
@@ -11520,7 +11548,7 @@ type CreateOrderRequestSchema = {
11520
11548
  user_details?: UserDetailsSchema;
11521
11549
  /**
11522
11550
  * - List of
11523
- * order lifecycle messages to be displayed to the user at Order Details.
11551
+ * order lifecycle messages to be displayed to the seller at Order Details.
11524
11552
  */
11525
11553
  order_lifecycle_messages?: LifecycleMessageSchema[];
11526
11554
  /**
@@ -11544,6 +11572,12 @@ type CreateOrderRequestSchema = {
11544
11572
  * Draft orders will be moved to upcoming state instead of placed status.
11545
11573
  */
11546
11574
  is_draft?: boolean;
11575
+ /**
11576
+ * - Metadata related to the order may include
11577
+ * additional, dynamic information that provides further context about the
11578
+ * order. This information can also be viewed on the Order or Shipment Details page.
11579
+ */
11580
+ meta?: any;
11547
11581
  };
11548
11582
  /** @returns {Page} */
11549
11583
  declare function Page(): Page;