Search orders

Request and response example

Request:

curl --location 'https://app.ecwid.com/api/v3/1003/orders' \
--header 'Authorization: Bearer secret_ab***cd'

Response:

{
  "total": 23,
  "count": 1,
  "offset": 0,
  "limit": 1,
  "items": [
    {
      "id": "EBJFT",
      "internalId": 492512057,
      "refundedAmount": 0,
      "subtotal": 500,
      "subtotalWithoutTax": 500,
      "total": 600,
      "totalWithoutTax": 590,
      "giftCardRedemption": 0,
      "totalBeforeGiftCardRedemption": 600,
      "giftCardDoubleSpending": false,
      "email": "",
      "tax": 10,
      "customerTaxExempt": false,
      "customerTaxIdValid": true,
      "b2b_b2c": "b2c",
      "reversedTaxApplied": false,
      "customerRequestedInvoice": false,
      "customerFiscalCode": "",
      "electronicInvoicePecEmail": "",
      "electronicInvoiceSdiCode": "",
      "couponDiscount": 10,
      "paymentStatus": "PAID",
      "fulfillmentStatus": "SHIPPED",
      "orderNumber": 492512057,
      "vendorOrderNumber": "EBJFT",
      "publicUid": "EBJFT",
      "volumeDiscount": 0,
      "membershipBasedDiscount": 0,
      "totalAndMembershipBasedDiscount": 0,
      "customSurcharges": [],
      "discount": 0,
      "usdTotal": 642.404477130936,
      "createDate": "2024-05-01 05:26:28 +0000",
      "updateDate": "2024-05-01 05:26:28 +0000",
      "createTimestamp": 1714541188,
      "updateTimestamp": 1714541188,
      "discountCoupon": {
        "id": 215189589,
        "name": "Test Coupon",
        "code": "DISC",
        "discountType": "ABS",
        "status": "ACTIVE",
        "discount": 10,
        "launchDate": "2024-04-30 23:00:00 +0000",
        "usesLimit": "UNLIMITED",
        "repeatCustomerOnly": false,
        "applicationLimit": "UNLIMITED",
        "creationDate": "2024-05-01 05:26:28 +0000",
        "updateDate": "2024-05-01 05:26:28 +0000",
        "orderCount": 0
      },
      "items": [
        {
          "id": 1741253497,
          "productId": 439710255,
          "price": 500,
          "priceWithoutTax": 500,
          "productPrice": 0,
          "sku": "000001",
          "quantity": 1,
          "shortDescriptionTranslated": {
            "ru": "",
            "en": ""
          },
          "tax": 0,
          "shipping": 0,
          "quantityInStock": 0,
          "name": "Pizza",
          "nameTranslated": {
            "ru": "",
            "en": "Pizza"
          },
          "isShippingRequired": true,
          "weight": 0,
          "trackQuantity": false,
          "fixedShippingRateOnly": false,
          "imageUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/15695068/2870741131.jpg",
          "smallThumbnailUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/15695068/2870741133.jpg",
          "hdThumbnailUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/15695068/2870741134.jpg",
          "fixedShippingRate": 0,
          "digital": false,
          "productAvailable": true,
          "couponApplied": false,
          "files": [
            {
              "productFileId": 92603033,
              "maxDownloads": 0,
              "remainingDownloads": 0,
              "expire": "2024-05-04 05:26:28 +0000",
              "name": "header.png",
              "description": "",
              "size": 99304,
              "adminUrl": "https://app.ecwid.com/api/v3/15695068/products/439710255/files/92603033",
              "customerUrl": "https://app.ecwid.com/download/15695068/d23f0e4ae9368716687f51b9d53820e2/header.png"
            },
            {
              "productFileId": 92603034,
              "maxDownloads": 0,
              "remainingDownloads": 0,
              "expire": "2024-05-04 05:26:28 +0000",
              "name": "logo.png",
              "description": "",
              "size": 9487,
              "adminUrl": "https://app.ecwid.com/api/v3/15695068/products/439710255/files/92603034",
              "customerUrl": "https://app.ecwid.com/download/15695068/dac5865171876f936e90391236228a94/logo.png"
            },
            {
              "productFileId": 92603035,
              "maxDownloads": 0,
              "remainingDownloads": 0,
              "expire": "2024-05-04 05:26:28 +0000",
              "name": "screen1.png",
              "description": "",
              "size": 56497,
              "adminUrl": "https://app.ecwid.com/api/v3/15695068/products/439710255/files/92603035",
              "customerUrl": "https://app.ecwid.com/download/15695068/6cb52be701b4181b733d42dfe1306e18/screen1.png"
            }
          ],
          "taxable": true,
          "isCustomerSetPrice": false,
          "attributes": []
        }
      ],
      "refunds": [],
      "shippingOption": {
        "shippingMethodId": "customShippingId",
        "shippingMethodName": "Shipping",
        "shippingRate": 110,
        "shippingRateWithoutTax": 110,
        "isPickup": false,
        "fulfillmentType": "SHIPPING",
        "isShippingLimit": false
      },
      "predictedPackage": [],
      "shippingLabelAvailableForShipment": false,
      "shipments": [],
      "additionalInfo": {

      },
      "paymentParams": {

      },
      "extraFields": {

      },
      "ticket": -160802399,
      "hidden": false,
      "taxesOnShipping": [
        {
          "name": "Custom tax",
          "value": 10,
          "total": 10
        }
      ],
      "disableAllCustomerNotifications": false,
      "externalFulfillment": false,
      "utmDataSets": [],
      "invoices": [],
      "pricesIncludeTax": false
    }
  ]
}

Access scopes

Requires the following access scope: read_orders

Path params

ParamTypeDescription
storeIdnumberEcwid store ID.

Query params

All query params are optional.

ParamTypeDescription
idsstringOrder identifier. Works with order ID, internal order ID, order prefixes, and suffixes. Supports multiple values like: EG4H2,J77J8,SALE-G01ZG
offsetnumberResults offset from the beginning of the returned items list. Usually used to receive more than 100 orders in several requests with multiple of a hundred, like 100, 200, 300, etc.
limitnumberMaximum number of returned items. Maximum allowed and default value: 100.
keywordsstringSearch term for order ID, external transaction ID, billing and shipping address, customer email, shipping tracking code, item SKUs, names, selected options, private admin notes. Encde special characters to URI.
emailstringSearch term for customer email.
customerIdnumberSearch term for customer ID.
productIdnumberSearch term for IDs of products in order. Supports multiple values separated by comma, for example: 10031004,86427531.
totalFromnumberMinimum order total.
totalTonumberMaximum order total.
createdFromnumber/stringOrder placement date/time (lower bound). Supported formats: UNIX timestamp, date/time. Examples: 1447804800, 2023-01-15 19:27:50
createdTonumber/stringOrder placement date/time (upper bound). Supported formats: UNIX timestamp, date/time. Examples: 1447804800, 2023-01-15 19:27:50
updatedFromnumber/stringOrder latest update date/time (lower bound). Supported formats: UNIX timestamp, date/time. Examples: 1447804800, 2023-01-15 19:27:50
updatedTonumber/stringOrder latest update date/time (upper bound). Supported formats: UNIX timestamp, date/time. Examples: 1447804800, 2023-01-15 19:27:50
pickupTimeFromnumber/stringOrder pickup date/time (lower bound). Supported formats: UNIX timestamp, date/time. Examples: 1447804800, 2023-01-15 19:27:50
pickupTimeTonumber/stringOrder pickup date/time (upper bound). Supported formats: UNIX timestamp, date/time. Examples: 1447804800, 2023-01-15 19:27:50
shippingMethodstringShipping method name selected on the checkout.
fulfillmentStatusstringOrder shipping status. Supports multiple values separated by comma. Supported values: AWAITING_PROCESSING, PROCESSING, SHIPPED, DELIVERED, WILL_NOT_DELIVER, RETURNED, READY_FOR_PICKUP, OUT_FOR_DELIVERY, CUSTOM_FULFILLMENT_STATUS_1, CUSTOM_FULFILLMENT_STATUS_2, CUSTOM_FULFILLMENT_STATUS_3.
paymentMethodstringPayment method name selected on the checkout.
paymentStatusstringOrder payment status. Supports multiple values separated by comma. Supported values: AWAITING_PAYMENT, PAID, CANCELLED, REFUNDED, PARTIALLY_REFUNDED, INCOMPLETE, CUSTOM_PAYMENT_STATUS_1, CUSTOM_PAYMENT_STATUS_2, CUSTOM_PAYMENT_STATUS_3.
acceptMarketingbooleanSet true to find orders where customer has accepted email marketing.
containsPreorderItemsbooleanSet true to find orders with pre-order products.
couponCodestringSearch term for discount coupon code applied to order.
subscriptionIdnumberSearch term for ID of subscription used in order.
refererIdnumberReferer identifier.
responseFieldsstringLimit JSON response by specific fields. If specified, all missing fields will be removed from the response body.
Example: ?responseFields=total,items(id,email,total)

Example of using responseFields param:

curl --location 'https://app.ecwid.com/api/v3/1003/orders?responseFields=total,items(id,email,total)' \
--header 'Authorization: Bearer secret_ab***cd'
{
    "total": 3,
    "items": [
        {
            "id": "K8XTQ",
            "email": "[email protected]",
            "total": 10
        },
        {
            "id": "1HOTQ",
            "email": "[email protected]",
            "total": 101
        },
        {
            "id": "CYQLB",
            "email": "[email protected]",
            "total": 109.1
        }
    ]
}

Headers

The Authorization header with a secret access token is required.

HeaderFormatDescription
AuthorizationBearer secret_ab***cdAccess token of the application.

Response

A JSON object with the following fields:

FieldTypeDescription
totalnumberThe total number of found items (might be more than the number of returned items)
countnumberThe total number of the items returned in this batch
offsetnumberOffset from the beginning of the returned items list (for paging)
limitnumberMaximum number of returned items. Maximum allowed value: 100. Default value: 10
itemsArray orderItemsList of orders.

orderItems

FieldTypeDescription
idstringUnique ID for each order with prefix and suffix defined by admin e.g. MYSTORE-X8UYE and shown to customers and in UI (format can be different for old stores).
subtotalnumberCost of all products in the order (item's price x quantity) before any cost modifiers are applied.
subtotalWithoutTaxnumberOrder subtotal without taxes included in price (GROSS) when pricesIncludeTax is true.
totalnumberOrder total cost with all cost modifiers: shipping, taxes, fees, and discounts.
totalWithoutTaxnumberOrder total without taxes. Calculates as total - tax.
refundedAmountnumberA sum of all refunds made to order.
giftCardRedemptionnumberAmount deducted from the Gift Card balance and applied to order total.
totalBeforeGiftCardRedemptionnumberOrder total before the Gift Card was applied.
emailstringCustomer email address.
paymentModulestringPayment processor name.
paymentMethodstringPayment method name.
taxnumberTax total for the order. Sum of all tax in order items, unless they were modified after order was placed
customerTaxExemptbooleantrue if the customer is tax exempt, false otherwise. Learn more
customerTaxIdstringCustomer tax ID.
customerTaxIdValidbooleantrue if customer tax ID is valid, false otherwise.
reversedTaxAppliedbooleantrue if order tax was set to 0 because customer specified their valid tax ID in checkout process, false otherwise.
b2b_b2cstringOrder type: business-to-business (b2b) or business-to-consumer (b2c).
customerRequestedInvoicebooleantrue if customer requested an invoice, false otherwise
customerFiscalCodestringFiscale code of the customer.
electronicInvoicePecEmailstringPEC email for invoices.
electronicInvoiceSdiCodestringSDI code for invoices.
ipAddressstringCustomer IP address.
paymentStatusstringPayment status. Supported values: AWAITING_PAYMENT, PAID, CANCELLED, REFUNDED, PARTIALLY_REFUNDED, INCOMPLETE, CUSTOM_PAYMENT_STATUS_1, CUSTOM_PAYMENT_STATUS_2, CUSTOM_PAYMENT_STATUS_3.
fulfillmentStatusstringFulfillment status. Supported values: AWAITING_PROCESSING, PROCESSING, SHIPPED, DELIVERED, WILL_NOT_DELIVER, RETURNED, READY_FOR_PICKUP, OUT_FOR_DELIVERY, CUSTOM_FULFILLMENT_STATUS_1, CUSTOM_FULFILLMENT_STATUS_2, CUSTOM_FULFILLMENT_STATUS_3.
orderNumbernumberDEPRECATED Use the id field instead.
vendorOrderNumberstringDEPRECATED Use the id field instead.
refererUrlstringURL of the page when order was placed (without hash (#) part)
orderCommentsstringCustomer's order comments, specified at checkout
volumeDiscountnumberSum of applied advanced discounts based on subtotal. Included in the discount field.
membershipBasedDiscountnumberSum of applied advanced discounts based on customer group. Included in the discount field.
totalAndMembershipBasedDiscountnumberSum of applied advanced discounts based on both subtotal and customer group. Included in the discount field.
discountnumberSum of all applied advanced discounts. Does not include discount coupons.

Total order discount is the sum of thecouponDiscount and discount fields.
couponDiscountnumberDiscount value from applied discount coupon, e.g. 10.

Total order discount is the sum of thecouponDiscount and discount fields.
discountInfoArray discountInfoDetailed information about applied advanced discounts.
discountCouponObject discountCouponDetailed information about applied discount coupons.
customerIdnumberUnique customer internal ID (if a registered user places the order).
customSurchargesArray customSurchargesInformation about applied surcharges.
usdTotalnumberOrder total in USD
globalRefererstringURL that the customer came to the store from
createDatedateThe date/time of order placement, e.g 2014-06-06 18:57:19 +0000
updateDatedateThe date/time of the last order change, e.g 2014-06-06 18:57:19 +0000
createTimestampnumberThe date of order placement in UNIX timestamp or date/time, e.g 1427268654
updateTimestampnumberThe date of the last order change in UNIX timestamp or date/time, e.g 1427268654
customerGroupIdnumberCustomer group ID.
customerGroupstringCustomer group name.
itemsArray itemsDetailed information about products in the order.
refundsArray refundsDetails about refunds made to order.
shippingPersonObject shippingPersonName and address of the person entered in shipping information
billingPersonObject shippingPerson Name and billing address of the customer. Can be omitted, if this form is disabled by the merchant in Ecwid Control Panel > Settings > General > Cart > Ask for a billing address during checkout
shippingOptionObject shippingOptionInformation about selected shipping option.
handlingFeeObject handlingFeeHandling fee details.
predictedPackagesObject predictedPackagesTotal dimensions and weight of the single shipping package for the order.
shippingLabelAvailableForShipmentbooleanDefines if buying of shipping label is available for a shipment.
shipmentsArray shipmentsShipment information is provided to the purchased shipping label.
additionalInfoObjectInternal order information.
paymentParamsObjectInternal payment parameters.
extraFieldsObject extraFieldsInformation about the values of the order's extra fields.
orderExtraFieldsArray orderExtraFieldsAdditional optional information about the order's extra fields. Along with the value of the field, it contains technical information, such as id, type, etc. of the field. Total storage of extra fields cannot exceed 8Kb. See Order extra fields
hiddenbooleanDetermines if the order is hidden (removed from the list). Applies to unsfinished orders only.
trackingNumberstringShipping tracking code
paymentMessagestringMessage from the payment processor if any. It is present and visible in order details only if order status is not paid. When order becomes paid, paymentMessage is cleared
externalTransactionIdstringTransaction ID / invoice number of the order in the payment system (e.g. PayPal transaction ID)
affiliateIdstringAffiliate ID
creditCardStatusObject creditCardStatusThe status of credit card payment
privateAdminNotesstringPrivate note about the order from store owner
pickupTimestringOrder pickup time in the store date format, e.g.: "2017-10-17 05:00:00 +0000"
taxesOnShippingArray taxesOnShippingTaxes applied to shipping 'as is'. null for old orders, [] for orders with taxes applied to subtotal only. Are not recalculated if order is updated later manually. Is calculated like: (shippingRate + handlingFee)*(taxValue/100)
acceptMarketingbooleantrue if customer has accepted email marketing and you can use their email for promotions (null too). If value is false, you can't use this email for promotions
refererIdstringReferer identifier. Can be set in storefront via JS or by creating / updating an order with REST API
disableAllCustomerNotificationsbooleantrue if no email notifications are sent to customer. If false or empty, then email notifications are sent to customer according to store mail notification settings. This field does not influence admin email notifications.
externalFulfillmentbooleanSet true if order is fulfilled in an external system; Ecwid will hide fulfillment status change feature and ability to set tracking number within Ecwid Control Panel in order details. Set false to manage order fulfillment within Ecwid Control Panel
utmDataArray utmDataUTM parameters tracked for the order. See more details in Help Center
externalOrderIdstringCorresponding order number in an external system where order is fulfilled. Use together with the externalFulfillment field
invoicesArray invoicesTax invoices generated for the order. Read-only.
pricesIncludeTaxbooleantrue if the tax rate is included in order price. More details: Taxes in Ecwid
utmDataSetsArray utmDataSetsUTM parameters tracked for the order. See more details in Help Center. Advanced utmData field.
langstringOrder's language (optional). If this field has a value matching one of the active store translations, all customer emails for the order will use this language.

Get a list of active store languages here
customerUserAgentstringInformation about the customer's device and platform used to place an order. Uses User-Agent browser header format.
If device and browser are unrecognized, Ecwid won't return the field.

items

FieldTypeDescription
idnumberOrder item ID. Can be used to address the item in the order, e.g. to manage ordered items.
productIdnumberStore product ID
subscriptionIdnumberA subscription identifier. If a store has subscriptions, they are available at Ecwid admin panel > My Sales > Subscriptions. Learn more about Recurring subscriptions
recurringChargeSettingsObject recurringChargeSettingsInformation about subscription charge intervals
categoryIdnumberID of the category this product belongs to or was added from. If the product was clicked on the store front (featured products) page and added to the cart, categoryID will return 0. If the product was added to the cart via the Buy Now button on the featured products page, categoryID will return -1.
pricenumberPrice of ordered item in the cart
priceWithoutTaxnumberPrice of ordered item in the cart without applied tax
productPricenumberBasic product price without options markups, wholesale discounts etc.
costPricenumberPurchase price of the product in the specific order (the price at which the seller bought it from the supplier). A positive number, 0 by default. The field is not shown in the UI and can be used for reports and profit calculations
weightnumberProduct weight
skustringProduct SKU. If the chosen options match a variation, this will be a variation SKU.
quantitynumberAmount purchased
shortDescriptionstringProduct description truncated to 120 characters
shortDescriptionTranslatedObject translationsAvailable translations for product short description
taxnumberTax amount applied to the item
shippingnumberOrder item shipping cost
quantityInStocknumberThe number of products in stock in the store
namestringProduct name
nameTranslatedObject translationsAvailable translations for product name
isShippingRequiredbooleantrue/false: shows whether the item requires shipping
trackQuantitybooleantrue/false: shows whether the store admin set to track the quantity of this product and get low stock notifications
fixedShippingRateOnlybooleantrue/false: shows whether the fixed shipping rate is set for the product
imageUrlstringProduct image URL
fixedShippingRatenumberFixed shipping rate for the product
digitalbooleantrue/false: shows whether the item has downloadable files attached
couponAppliedbooleantrue/false: shows whether a discount coupon is applied for this item
selectedOptionsArray selectedOptionsProduct options values selected by the customer
taxesArray taxesTaxes applied to this order item
combinationIdnumberThe ID of a chosen combination
filesArray filesFiles attached to the order item
dimensionsObject dimensionsProduct dimensions info
couponAmountnumberCoupon discount amount applied to item. Provided if discount applied to order. Is not recalculated if order is updated later manually
discountsArray discountsAdvanced discounts applied to the specific product in the order.
taxesOnShippingArray taxesOnShippingTaxes applied to shipping. null for old orders, [] for orders with taxes applied to subtotal only. Are not recalculated if order is updated later manually. Is calculated like: (shippingRate + handlingFee)*(taxValue/100)
isCustomerSetPricebooleantrue if price for the ordered product was set up by a customer ("Pay What You Want" feature is enabled). false otherwise.
isPreorderbooleantrue if the product is pre-ordered because it was out of stock. Learn more about Accepting pre-orders. Otherwise the field is not returned.
attributesobject attributesDetails about product attributes.

attributes

FieldTypeDescription
namestringName of the product attribute.
valuestringAttribute value.

taxes

FieldTypeDescription
namestringTax name
namestringTax name
valuenumberTax value in percent
totalnumberTax amount for the item
taxOnDiscountedSubtotalnumberSpecific tax amount on product subtotal (price) after applying all discounts
taxOnShippingnumberTax on item shipping
includeInPricebooleanDEPRECATED - refer to pricesIncludeTax field. true if the tax rate is included in product prices (GROSS), false otherwise (NET). More details: Taxes in Ecwid
sourceTaxRateIdnumberTax rate ID. For manual taxes the value is copied from tax ID, for all other cases the value is 0
sourceTaxRateTypestringType of tax rate, possible values are AUTO, MANUAL, CUSTOM (if tax is changed via API), LEGACY
taxTypestringType of detailed tax for USA. Possible values: STATE, COUNTY, CITY, SPECIAL_DISTRICT
taxClassCodestringTax classification code applied to product. See: Tax classes by country
taxClassNamestring(EN) Name of the tax classification code applied to product. See: Tax classes by country

files

FieldTypeDescription
productFileIdnumberInternal unique file ID
maxDownloadsnumberMax allowed number of file downloads. See E-goods article in Ecwid Help center for the details
remainingDownloadsnumberRemaining number of download attempts
expirestringDate/time of the customer download link expiration
namestringFile name
descriptionstringFile description defined by the store administrator
sizenumberFile size, bytes (64-bit integer)
adminUrlstringLink to the file. Be careful: the link contains the API access token. Make sure you do not display the link as is in your application and not give it to a customer.
customerUrlstringFile download link that is sent to the customer when the order is paid

selectedOptions

FieldTypeDescription
namestringOption name
typestringOption type. One of:
CHOICE: dropdown, radio button, or size.
CHOICES: checkbox.
TEXT: text input or text area.
DATE: date/time selector.
FILES: upload file option.
valuestringSelected/entered option value(s) as a string. For the CHOICES type, provides a string with all chosen values (comma-separated). You can use this to simply print out all selected values.
valuesArrayArraySelected option values as an array. For the CHOICES type, provides an array with the chosen values so you can iterate through them in your app.
filesArray filesAttachedAttached files (if the option type is FILES)
selectionsArray selectionsDetails of selected product options. If sent in update order request, other fields will be regenerated based on information in this field

filesAttached

FieldTypeDescription
idnumberFile ID
namestringFile name
sizenumberFile size in bytes
urlstringFile URL

selections

FieldTypeDescription
selectionTitlestringSelection title, as set by merchant
selectionModifiernumberSelection price modifier amount. Value is negative for negative modifiers
selectionModifierTypestringPrice modifier type: "PERCENT" or "ABSOLUTE"

recurringChargeSettings

FieldTypeDescription
recurringIntervalstringSubscription charge interval. Supported values: day, week, month, year
recurringIntervalCountnumberCharge interval count (e.g. 3 - once per 3 months)
subscriptionPriceWithSignUpFeenumberThe cost of the product for the first subscription order.
signUpFeenumberThe size of the markup that is imposed on the first order.

translations

Object with text field translations in the "lang": "text" format, where the "lang" is an ISO 639-1 language code. Example:

{
    "en": "Sample text",
    "nl": "Voorbeeldtekst"
}

Translations for each available language. If no other translations are provided, the default language translations is returned. See available languages in store language settings.

dimensions

FieldTypeDescription
lengthnumberLength of a product
widthnumberWidth of a product
heightnumberHeight of a product

shippingPerson

FieldTypeDescription
namestringFull name
companyNamestringCompany name
streetstringAddress line 1 and address line 2, separated by '\n'
citystringCity
countryCodestringTwo-letter country code
countryNamestringCountry name
postalCodestringPostal/ZIP code
stateOrProvinceCodestringState code, e.g. NY
stateOrProvinceNamestringState/province name
phonestringPhone number

customSurcharges

FieldTypeDescription
idstringSurcharge id. If not specified default value: Custom Surcharge
valuenumberSurcharge value
typestringSurcharges type: ABSOLUTE or PERCENT
totalnumberTotal value of surcharges
totalWithoutTaxnumberTotal value of surcharges without taxes
descriptionstringSurcharge description
descriptionTranslatedstringSurcharge description in the translation
taxablebooleanControls tax application for the surcharge
taxesArray taxesThe list of applied taxes

discounts

FieldTypeDescription
discountInfoObject discountInfoInfo about discounts applied to item
totalnumberTotal order item discount value for this discount

discountInfo

FieldTypeDescription
valuenumberDiscount value.
typestringDiscount type: ABS or PERCENT.
basestringDiscount base, one of ON_TOTAL, ON_MEMBERSHIP, ON_TOTAL_AND_MEMBERSHIP, CUSTOM.
orderTotalnumberMinimum order subtotal to apply the advanced discount.
descriptionstringAdvanced discount description.
appliesToItemsArray of numbersList of product IDs advanced discount is applied to, e.g. [123456, 234567].

discountCoupon

FieldTypeDescription
idnumberDiscount coupon ID.
namestringName of the discount coupon visible in Ecwid admin.
codestringDiscount coupon code.
discountTypestringDiscount type: ABS, PERCENT, SHIPPING, ABS_AND_SHIPPING, PERCENT_AND_SHIPPING
statusstringDiscount coupon state: ACTIVE, PAUSED, EXPIRED or USEDUP
discountnumberDiscount value applied to the order total.
launchDatestringThe date of coupon launch, e.g. 2014-06-06 08:00:00 +0000.
expirationDatestringCoupon expiration date, e.g. 2014-06-06 08:00:00 +0000.
totalLimitnumberThe minimum order subtotal the coupon applies to.
usesLimitstringNumber of uses limitation: UNLIMITED, ONCEPERCUSTOMER, SINGLE
applicationLimitstringApplication limit for discount coupons. Possible values: "UNLIMITED", "NEW_CUSTOMER_ONLY", "REPEAT_CUSTOMER_ONLY".
creationDatestringDiscount coupon creation date.
updateDatestringDate of the last discount coupon update.
orderCountnumberAmount of orders where the discount coupon was used previously.
catalogLimitObject catalogLimitProducts and categories the coupon can be applied to

catalogLimit

FieldTypeDescription
productsArray of numbersThe list of product IDs the coupon can be applied to
categoriesArray of numbersThe list of category IDs the coupon can be applied to

shippingOption

FieldTypeDescription
shippingCarrierNamestringOptional. Is present for orders made with carriers, e.g. USPS or shipping applications.
shippingMethodNamestringShipping option name
shippingMethodIdstringShipping method ID
shippingRatenumberRate
shippingRateWithoutTaxnumberRate without tax
estimatedTransitTimestringDelivery time estimation. Possible formats: number "5", several days estimate "4-9" (is equal to the description field in the Get shipping options request)
isPickupbooleantrue for pickup methods, false otherwise
pickupInstructionstringInstruction for customer on how to receive their products
fulfillmentTypestringContains one of the values: shipping, pickup, delivery

handlingFee

FieldTypeDescription
namestringHandling fee name set by store admin. E.g. Wrapping
valuenumberHandling fee value
descriptionstringHandling fee description for customer

predictedPackages

NameTypeDescription
heightnumberHeight of a predicted package
widthnumberWidth of a predicted package
lengthnumberLength of a predicted package
weightnumberTotal weight of a predicted package
declaredValuenumberDeclared value of a predicted package (subtotal of items in package)

shipments

FieldTypeDescription
idstringID of the purchased shipping label
createddateThe date/time of shipping label purchase, e.g 2020-04-23 19:13:43 +0000
shipToObject shippingPersonName and address of the person entered in shipping information
shipFromObject shipFromShipping origin address. If matches company address, company address is returned
parcelObject parcelInformation about the selected package to ship items to customer
shippingServiceObject shippingServiceSelected shipping service
trackingObject trackingTracking details provided by shipping service
shippingLabelObject shippingLabelShipping label details

shipFrom

FieldTypeDescription
companyNamestringThe company name displayed on the invoice
emailstringCompany (store administrator) email
streetstringCompany address. 1 or 2 lines separated by a new line character
citystringCompany city
countryCodestringA two-letter ISO code of the country
postalCodestringPostal code or ZIP code
stateOrProvinceCodestringState code (e.g. NY) or a region name
phonestringCompany phone number

parcel

FieldTypeDescription
weightnumberTotal weight of a package
weightUnitstringContains one of the values: CARAT, GRAM, OUNCE, POUND, KILOGRAM
widthnumberWidth of a package
heightnumberHeight of a package
lengthnumberLength of a package
dimensionUnitstringContains one of the values: MM, CM, IN, YD

shippingService

FieldTypeDescription
carrierstringCarrier used for shipping the order. Contains one of the values: USPS, UPS, FEDEX, CANADA_POST, AUSTRALIA_POST
carrierNamestringName of shipping option in store settings
carrierServiceNamestringSpecific carrier method name
carrierServiceCodestringSpecific carrier method code

tracking

FieldTypeDescription
tracking_numberstringTracking number provided by shipping service
tracking_urlstringLink for tracking delivery status information
estimatedDaysnumberEstimated delivery time in days

shippingLabel

FieldTypeDescription
label_urlstringURL to download shipping label

discountInfo

FieldTypeDescription
valuenumberDiscount value
typestringDiscount type: ABS or PERCENT
basestringDiscount base, one of ON_TOTAL, ON_MEMBERSHIP, ON_TOTAL_AND_MEMBERSHIP, CUSTOM
orderTotalnumberMinimum order subtotal the discount applies to
descriptionstringDescription of a discount (for discounts with base == CUSTOM)

creditCardStatus

FieldTypeDescription
avsMessagestringAddress verification status returned by the payment system.
cvvMessagestringCredit card verification status returned by the payment system.

extraFields

FieldTypeDescription
ecwid_order_delivery_time_interval_enddateEnd of the delivery date interval.
ecwid_order_delivery_time_display_formatstringFormat of the delivery date chosen:DATE or DATETIME.
ecwid_order_delivery_time_interval_startdateStart of the delivery date interval.

orderExtraFields

FieldTypeDescription
idstringYour custom name saved for the order extra field
valuestringExtra field value. Length cannot exceed 255 characters
customerInputTypestringOne of: "","TEXT", "SELECT", "DATETIME"
titlestringExtra field title. Displayed for customer at checkout if field is visible
orderDetailsDisplaySectionstringOne of: shipping_info , billing_info, customer_info, order_comments. Empty string for hidden fields.
orderBystringExtra field position. Use it to sort fields within the same orderDetailsDisplaySection

refunds

FieldTypeDescription
datedateThe date/time of a refund, e.g 2014-06-06 18:57:19 +0000
sourcestringWhat action triggered refund. Possible values: "CP" - changed my merchant in Ecwid CP, "API" - changed by another app, "External" - refund made from payment processor website
reasonstringA text reason for a refund. 256 characters max
amountnumberAmount of this specific refund (not total amount refunded for order. see redundedAmount field)

utmData

FieldTypeDescription
sourcestringTraffic source - indicated where customers come from
campaignstringIndicates a specific advertising campaign
mediumstringType of traffic - indicates the method for bringing customers

utmDataSets

FieldTypeDescription
timestampnumberThe time of saving dataset into the local storage
sourcestringTraffic source - indicated where customers come from
mediumstringType of traffic - indicates the method for bringing customers
campaignstringIndicates a specific advertising campaign

invoices

FieldTypeDescription
internalIdnumberInternal ID of the invoice
idstringPublic invoice ID showed in the invoice
createdstringDate and time of invoice creation in UTC
linkstringDownload link for invoice in PDF format
typestringInvoice type. Supported values "SALE" (regular), "FULL_CANCEL" (refund)

taxesOnShipping

FieldTypeDescription
namestringTax name
valuenumberTax value in store settings, applied to destination zone
totalnumberTax total applied to shipping
Language
Click Try It! to start a request and see the response here!