Fee Details

A fee is a rate card agreed between portal and its contact. Eshopbox allows you to configure such rate cards into a set of rules.

The Fee Details Object

Attributes

Type

Description

feeId

string

Unique Id for fee created or Unique Id for already present fee

feesName

string

Name of the created fees

actualName

string

Receivable fee Name from portal

portalId

string

Id for a portal (Ex. Amazon, Flipkart) for which fees is created

portalName

string

Portal Name for which fee is configured

feePortalId

string

Unique Id for a fee on a particular portal

version

string

Version of the fees created

isInclusiveTax

string

Fees is tax inclusive or not

ReferEnum: 0,1

inclusiveTaxPercentage

string

Percentage of tax applicable on a fee

status

string

Status of the fees ReferEnum: ACTIVE, EXPIRED, UPCOMING

isEditable

string

"YES" if fee is editable else "NO"

portalLogoUrl

string

Portal Logo Url

details

An array of fee rules.

Also see: The details object below.

feeEventMappingDetail

An array of Fee Event Mapping.

Also see: The feeEventMappingDetail object below.

validFrom

string

Datetime from which fees will be activated

validTo

string

Datetime at which fees will be expired

createdOn

string

The datetime, at which fees is created

updatedOn

string

The datetime, at which fees is updated

Enum: status

Attributes

Description

ACTIVE

This is the applicable fee for the current period.

EXPIRED

Fee for which validity has expired.

UPCOMING

Fee which will be applicable from a future date.

Enum: isInclusiveTax

Attributes

Description

1

Fee is tax inclusive

0

Fee is not tax inclusive

A details Object

Attributes

Type

Description

details[]._id

System details

details[].brand

array

Brands for which rule is created.

details[].feeRuleStatus

string

Action to be considered for fee rules.

ReferEnum: HIGHER, LOWER, SUM

details[].paymentMethod

string

Mode of payment

ReferEnum: PREPAID, COD

details[].fixed

number

Fee value which is fixed for the rule and would not vary.

details[].fixedApplicableOn

string

fixed value applicable on conditions

ReferEnum: Per Order, Per Order Item, Per Shipment

details[]. feeRuleConditionId

string

Fee Rule Condition Id

details[].feePortalId

string

Unique Id for a fee on particular portal

details[].version

string

Fee Version for fees

details[].feeId

string

Unique Id for Fee

details[].portalid

string

portal for which fee is configured

details[].category

array

Categories for which rule is created.

details[].ruleId

string

Mongo rule for particular Id

details[].percentage

number

Percentage value to be considered for the rule.

details[].percentageApplicableOn

string

percentage value applicable on conditions

ReferEnum: Per Order, Per Order Item, Per Shipment

details[].productsellingprice

array of product selling price

Also see: The productsellingprice object

details[].weightrange

array of weight range

Also see: The weightrange object

details[].variable

number

Fee value which will vary with different conditions.

details[]. variableApplicableOn

string

variable value applicable on con

ReferEnum: Per Order, Per Order Item, Per Shipment

details[].partitionRange

string

Change in Variable value added as per defined units.

details[].partitionRangeType

string

Partition Range Unit

details[].shippingZone

string

Zone to which order is shipped

Enum: feeRuleStatus

Attributes

Description

HIGHER

Out of all the THEN condition defined for fees, greatest amount will be considered.

LOWER

Out of all the THEN condition defined for fees, lowest amount will be considered.

SUM

Sum of all the THEN condition defined for fees is considered.

Enum: applicableOn

Attributes

Description

Per Order

Fee Rule to be considered Per Order

Per Order Item

Fee Rule to be considered Per Order Item

Per Shipment

Fee Rule to be considered Per Shipment

Enum: paymentMethod

Attributes

Description

PREPAID

Payment is done before shipment

COD

Payment is done at the time of delivery

The productsellingprice object

Attributes

Type

Description

productsellingprice.unit

string

currency(INR)

productsellingprice .max

number

Maximum value of PSP range

productsellingprice.min

number

Minimum value of PSP range

The weightrange object

Attributes

Type

Description

weightrange.unit

string

unit of weight(kg)

weightrange.max

number

Maximum value of weight range

weightrange.min

number

Minimum value of weight range

The _id object

Attributes

Type

Description

_id.timestamp

number

Timestamp of fees creation

_id.machineIdentifier

number

Machine Identifier

_id.processIdentifier

number

Process identifier

_id.counter

number

Counter

_id.time

string

Time of fees creation

_id.date

string

Date of fees creation

_id.timeSecond

number

Time second for fees creation

The feeEventMappingDetail object

Attribute

Type

Description

feeEventMappingDetail [].id

string

Unique Id for each rule

feeEventMappingDetail [].fee_portal_id

string

Unique Id for a fee on particular portal

feeEventMappingDetail [].category

string

Type of fee charged

feeEventMappingDetail [].event_type

string

Detail of when fee is charged

ReferEnum: RETURNED, SHIPPED, CANCELLED

feeEventMappingDetail [].event_sub_type

string

"CUSTOMER" or "COURIER" in case of "RETURNED" event type.

feeEventMappingDetail [].partial_percentage_value

number

Percentage of fee to be charged

feeEventMappingDetail [].created_on

string

The time, on which fee is created

feeEventMappingDetail [].updated_on

string

The time, on which fee is updated

Enum: eventType

Attributes

Description

RETURNED

Fee is applicable when the order is returned

SHIPPED

Fee is applicable when the order is shipped

CANCELLED

Fee is applicable when the order is cancelled

Last updated