# Type specifications

## Order

***

| Property            | Type                                                                                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Id                  | integer                                                                                                                                             | Alephee ID to identify the order                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| SellerAccount       | [#seller](#seller "mention")                                                                                                                        | The seller to whom the order belongs to.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ExternalOrderId     | string                                                                                                                                              | <p>Marketplace-assigned ID of the order.</p><p> </p><p><mark style="color:orange;">Not valid for Alephee B2B portal orders.</mark></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| PackId              | string                                                                                                                                              | <p>Shopping cart number associated with the order. Only if the order is part of a shopping cart purchase.</p><p> </p><p><mark style="color:orange;">Only for the Mercado Libre marketplace</mark>. Please refer to the above notes.</p>                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ~~SourcePackId~~    | ~~string~~                                                                                                                                          | <p>The original shopping cart number associated with the order. Only if the order is part of a shopping cart purchase.</p><p> </p><p><mark style="color:orange;">Only for the Mercado Libre marketplace</mark>. Please refer to the above notes.</p>                                                                                                                                                                                                                                                                                                                                                                                                     |
| IsCompletePackOrder | bool?                                                                                                                                               | <p>When TRUE, the order is a shopping cart purchase and all items in the cart are present and available for download.</p><p> </p><p>When FALSE, the order is a shopping cart purchase and NOT all items in the cart are present and available for download. You need to wait a while for all the items in the cart to arrive from the marketplace of origin and try to download the order again.</p><p></p><p><mark style="color:orange;">If the attribute is not included or visible in the order, this is NOT a purchase from a package in the shopping cart.</mark><br><mark style="color:orange;">Please refer to the "PackId" attribute.</mark></p> |
| Items               | [#item](#item "mention")                                                                                                                            | List of the items contained in the order.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Payments            | [#payment](#payment "mention")                                                                                                                      | List of the payments.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Adjustments         | [#adjustment](#adjustment "mention")                                                                                                                | <p>List of adjustments made in the order. (If any)</p><p> </p><p><mark style="color:orange;">Valid only for Alephee B2B portal orders.</mark></p><p> </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Shipping            | [#shipping](#shipping "mention")                                                                                                                    | Shipping details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Buyer               | [#buyer](#buyer "mention")                                                                                                                          | Buyer details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Billing             | [#billing](#billing "mention")                                                                                                                      | Marketplace-regarding order billing information                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Documents           | [#document](#document "mention")                                                                                                                    | <p>Array or collection of all the documents attached by the user to the order with all the relevant attributes.</p><p> </p><p>Please note the document-content is not included. You must use the GET orders/document endpoint in order to acquire the document content.</p>                                                                                                                                                                                                                                                                                                                                                                              |
| ActiveClaims        | [#activeclaims](#activeclaims "mention")                                                                                                            | <p>List of claims.</p><p> </p><p>Marketplace ID of the claim, Date the claim was created</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Notes               | string                                                                                                                                              | Order additional notes (if any)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Status              | <p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p>                                      | Current status of the order. For further details see “Possible order statuses” section below                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| StatusType          | <p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p>                                      | <p>Current status type of the order.<br>0 = New</p><p>1 = Pending</p><p>2 = Closed</p><p>99 = Cancelled</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Marketplace         | <p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string),</code></p><p><code>Channel (string)</code></p><p><code>}</code></p> | <p>ID of the marketplace in which the order originated.</p><p><br>See <a href="../../../glossary/glo1-2">marketplaces ID section</a> and the <a href="../../../accounts/get-methods/marketplaces">GET marketplaces endpoint</a> for the coding reference.</p><p></p><p>The "Channel" property is available on the following scenarios:</p><ul><li>Mercado Libre: When the sale came from a “Mercado Shops” channel sale, the string contains this name. </li><li>B2W Marketplace: Contains the individual channel (Lojas Americanas, Shoptime, etc). </li><li>Alephee: For orders belonging to B2B portal.</li></ul>                                     |
| Integrated          | boolean                                                                                                                                             | Indicates whether the order was marked as integrated or not                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| IntegratedOrderId   | string                                                                                                                                              | Your internal ID indicated for the order, informed in the PUT method (v2/orders/integrate)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| DateCreated         | datetime (UTC with local user time zone)                                                                                                            | Date the order was created                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| LastUpdated         | datetime (UTC with local user time zone)                                                                                                            | Date the order was last updated                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| DateClosed          | datetime (UTC with local user time zone)                                                                                                            | Date the order was closed. It is considered closed when it reaches a final status                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| IsCancelled         | boolean                                                                                                                                             | Indicates whether the order was cancelled or not                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ExternalJson        | object                                                                                                                                              | Complete order JSON from the corresponding marketplace. Please visit the marketplace API documentation for further details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

### Seller

***

| Property     | Type    | Description                                                                                             |
| ------------ | ------- | ------------------------------------------------------------------------------------------------------- |
| Id           | integer | Alephee internal ID to identify the seller                                                              |
| Name         | string  | Seller name                                                                                             |
| BusinessName | string  | Seller legal business name                                                                              |
| OwnCode      | string  | <p>The sellers’s internal CODE (if any) that matches the customer's code in the user's ERP.</p><p> </p> |

### Item

***

| Property                         | Type                                                                                                           | Description                                                                                                                                                                                                                                                                                                                    |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Id                               | integer                                                                                                        | Alephee ID to identify the order item                                                                                                                                                                                                                                                                                          |
| **Type**                         | <p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p> | <p>The item types. Available values are:</p><p> </p><p>• Key = 0, Value = “Product”</p><p>(The item is a single product)</p><p> </p><p>• Key = 1, Value = “Kit”</p><p>(The item is a Kit and a container for other components items)</p><p> </p><p>• Key = 2, Value = “Component”</p><p>(The item is a component of a kit)</p> |
| ParentItemId                     | integer?                                                                                                       | In the items of type “Component”, this field identifies the corresponding item of type “Kit” this component belongs to.                                                                                                                                                                                                        |
| Product                          | [#product](#product "mention")                                                                                 | Product details                                                                                                                                                                                                                                                                                                                |
| ProductListing                   | [#productlisting](#productlisting "mention")                                                                   | Product listing details                                                                                                                                                                                                                                                                                                        |
| Quantity                         | integer                                                                                                        | Item quantity                                                                                                                                                                                                                                                                                                                  |
| QuantitiesDetails                | [#itemquantities](#itemquantities "mention")                                                                   | <p>Item quantities details and disaggregation.</p><p> </p>                                                                                                                                                                                                                                                                     |
| SaleFee                          | decimal?                                                                                                       | Item marketplace-informed sale fee.                                                                                                                                                                                                                                                                                            |
| UnitPrice                        | decimal                                                                                                        | Item unit price                                                                                                                                                                                                                                                                                                                |
| FullUnitPrice                    | decimal                                                                                                        | Complete pricing of the item without applying any changes for promotions, deals or other discounts.                                                                                                                                                                                                                            |
| Status                           | <p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p> | Current status of the order item. For further details see “Possible order statuses” section below                                                                                                                                                                                                                              |
| StatusType                       | <p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p> | <p>Current status type of the order item.</p><p>Available StatusType key, values:</p><p><br>0 = New,</p><p>1 = Pending,</p><p>2 = Closed,</p><p>99 = Cancelled</p>                                                                                                                                                             |
| IsCancelled                      | boolean                                                                                                        | Indicates whether the order item was cancelled or not                                                                                                                                                                                                                                                                          |
| CalculatedComponentUnitPrice     | decimal                                                                                                        | <p>In the items of type “Component”, this field indicates its unit price within the kit, based on the final price the kit was sold at.</p><p> </p>                                                                                                                                                                             |
| CalculatedComponentFullUnitPrice | decimal                                                                                                        | In the items of type “Component”, this field indicates its unit price within the kit, based on the final price the kit was sold at, surpassed on the complete pricing of the item without applying any changes for promotions, deals or other discounts.                                                                       |

#### **ItemQuantities**

***

| Property                 | Type                                                                                                               | Description                                                                                                                                                                                                                                                                                                                                         |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Requested</p><p> </p> | <p><code>{</code></p><p><code>Value (decimal),</code></p><p><code>Measure (string)</code></p><p><code>}</code></p> | <p>The requested (from the buyer) quantity and measure of the item on this order.</p><p> </p><p>The measure indicates the measure unit (“unit”, “kg”, “gr”, “tons”)</p><p> </p><p>The value indicated the weight in the given unit.</p><p> </p><p>This attribute is completed only for the Mercado Libre marketplace.</p>                           |
| Picked                   | <p><code>{</code></p><p><code>Value (decimal),</code></p><p><code>Measure (string)</code></p><p><code>}</code></p> | <p>The picked (from the picking process on the marketplace) quantity and measure of the item on this order.</p><p> </p><p>The measure indicates the measure unit (“unit”, “kg”, “gr”, “tons”)</p><p> </p><p>The value indicated the weight in the given unit.</p><p> </p><p>This attribute is completed only for the Mercado Libre marketplace.</p> |
| StockMovements           | [#itemquantitiesstockmovement](#itemquantitiesstockmovement "mention")                                             | <p>Collection of stock movements.</p><p> </p><p>Provides information about the stock movement of the item order in the product catalog stock.</p>                                                                                                                                                                                                   |

#### **ItemQuantitiesStockMovement**

***

| Property               | Type                                     | Description                                                                                                                     |
| ---------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Account                | AccountType                              | The account information where the product stock movement was processed.                                                         |
| Quantity               | integer                                  | The number of units of the product stock movement                                                                               |
| PrevStock              | integer                                  | Available quantity of units of the product stock AFTER the stock movement.                                                      |
| PostStock              | integer                                  | Available quantity of units of the product stock BEFORE the stock movement.                                                     |
| MinPublicationQuantity | integer?                                 | Provides the product’s minimum publication quantity, that is set to the account (referenced above) that moved stock quantities. |
| MaxPublicationQuantity | integer?                                 | Provides the product’s maximum publication quantity, that is set to the account (referenced above) that moved stock quantities. |
| DateCreated            | datetime (UTC with local user time zone) | Date and time of the stock movement.                                                                                            |

#### Product

***

| Property        | Type                                                                                                           | Description                                               |
| --------------- | -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| Id              | integer                                                                                                        | Alephee ID to identify the product                        |
| SKU             | string                                                                                                         | SKU code that identifies the product                      |
| Brand           | string                                                                                                         | Product brand name                                        |
| SellerSKU       | string                                                                                                         | Your internal SKU code indicated for the product (if any) |
| EAN             | string                                                                                                         | EAN that identifies the product                           |
| Attributes      | /                                                                                                              | Product attributes that are related to the order          |
| Title           | string                                                                                                         | Product title                                             |
| IntegrationCode | string                                                                                                         | Publication identifier of each Marketplace                |
| Category        | <p><code>{</code> </p><p><code>Key (string),</code></p><p><code>Value (string)</code></p><p><code>}</code></p> | Category identifier, Category name of the marketplace.    |

#### ProductAttributes

***

| Property  | Type                                                                                                               | Description                                                                                                                                                                                                                                                                                                                            |
| --------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Netweight | <p><code>{</code></p><p><code>Value (decimal),</code></p><p><code>Measure (string)</code></p><p><code>}</code></p> | <p>The net weight of the product.</p><p> </p><p>The measure indicates the measure unit (“kg”, “gr”, “tons”)</p><p> </p><p>The value indicated the weight in the given unit.</p><p> </p><p>This attribute is completed only for the Mercado Libre marketplace, and it is valid for products that are weighed with units of measure.</p> |
| SalesTag  | ProductTagType                                                                                                     | Product sales tags that are related to the order.                                                                                                                                                                                                                                                                                      |

#### ProductListing

***

| Property                                                                              | Type                                                                                                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Reference                                                                             | string                                                                                                                                                   | <p>The product listing reference type. Available values are:</p><p> </p><p>·       “None”: It means that the publication corresponds to the sold product referenced in the order item.</p><p> </p><p>·       “Parent”:  It means that the publication corresponds to another product that is the parent of the current product. Usually used in the case of KIT components. A component does not have an associated product listing, but the KIT that contains it does.</p><p> </p>                                        |
| Id                                                                                    | integer                                                                                                                                                  | Internal ID of the product listing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ExternalId                                                                            | string                                                                                                                                                   | External marketplace-defined ID of the product listing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Title                                                                                 | string                                                                                                                                                   | Title of the product listing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <p>ListingType</p><p> </p><p>(Valid only for</p><p>the Mercado Libre marketplace)</p> | <p><code>{</code> </p><p><code>Key (integer),</code></p><p><code>Value (string),</code></p><p><code>Description (string)</code></p><p><code>}</code></p> | <p>The marketplace-assigned type for the product listing.</p><p> </p><p>Available KEY, VALUE is:</p><p> </p><p>0 = no type found</p><p>1 = gold\_pro</p><p>2 = gold\_premium</p><p>3 = gold\_special</p><p>4 = gold</p><p>5 = silver</p><p>6 = bronze</p><p>7 = free</p><p> </p><p>Each one of the above types mean different types of products listings on each country.</p><p> </p><p>The description attribute gets the friendly name of the product listing type. Example: “Clásica”, “Premium”, “Gratis”.</p><p> </p> |
| PermanentLink                                                                         | String                                                                                                                                                   | Public URL for the product listing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

### **Payment**

***

<table><thead><tr><th width="271.3333333333333">Property</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td>ExternalPaymentId</td><td>string</td><td>Marketplace ID of the payment</td></tr><tr><td>Amount</td><td>decimal</td><td>Paid amount (including shipping, financial charges and after any discounts, if any)</td></tr><tr><td>AmountNoDiscount</td><td>decimal</td><td>Paid amount before discounts (if any)</td></tr><tr><td>TransactionAmount</td><td>decimal</td><td>Transactional amount of the order (without discounts, taxes, installments, or any other financial charges). This should match the product pricing.</td></tr><tr><td>ShippingAmount</td><td>decimal</td><td>Shipping portion of the paid amount (after discounts, if any).<br>Shows only the sellers'paid amount. Do not includes the buyer's paid amount.</td></tr><tr><td>ShippingAmountNoDiscount</td><td>decimal</td><td>Shipping portion of the paid amount before discounts (if any).<br>Shows only the seller's paid amount. Do not includes the buyer's paid amount.</td></tr><tr><td>Discounts</td><td>[<a data-mention href="#discount">#discount</a>]</td><td>Array of orders's discount details</td></tr><tr><td><p>Total</p><p> </p><p>(Only for PedidosYa marketplace)</p></td><td>decimal?</td><td><p>Payment total</p><p>(Only for PedidosYa marketplace)</p></td></tr><tr><td><p>SubTotal</p><p> </p><p>(Only for PedidosYa marketplace)</p></td><td>decimal?</td><td><p>Payment subtotal</p><p>(Only for PedidosYa marketplace)</p></td></tr><tr><td>Installments</td><td>integer?</td><td><p>Installment’s quantity (if any).</p><p>In general, monthly payments.</p></td></tr><tr><td>InstallmentAmount</td><td>integer?</td><td>Amount of each one of the installments (if any)</td></tr><tr><td>Notes</td><td>string</td><td>Payment notes</td></tr><tr><td>AuthorizationCode</td><td>string</td><td>Payment authorization code</td></tr><tr><td>CurrencySymbol</td><td>string</td><td>Currency symbol</td></tr><tr><td>Method</td><td><p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p></td><td><p>Payment method.<br>Method value, Method key:<br></p><p>• account_money = 0, (MercadoPago account)</p><p>• ticket = 1,<br>(Printed ticket)</p><p>• bank_transfer = 2,</p><p>• atm = 3, (Payment via ATM machine)</p><p>• credit_card = 4,</p><p>• debit_card = 5,</p><p>• prepaid_card = 6,</p><p>• digital_currency = 7,</p><p>• cash = 99,</p><p>•other = 100</p></td></tr><tr><td>Status</td><td><p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p></td><td><p>Payment status. </p><p>Status value, Status Key:</p><p></p><p>• pending = 0, </p><p>• approved = 1, </p><p>• in_process= 2,<br>• in_mediation = 3, </p><p>• rejected = 4, </p><p>• cancelled = 5, </p><p>• refunded = 6, </p><p>• charged_back = 7</p></td></tr><tr><td>Condition</td><td><p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p></td><td><p>The order’s payment selected condition. </p><p><mark style="color:orange;">Valid only for Alephee B2B portal orders.</mark></p><p></p><p>Condition key, Condition value:</p><p></p><p>• 0 = No information given, </p><p>• 1 = Payment on credit, </p><p>• 2 = Payment on advance</p></td></tr><tr><td>Taxes</td><td><p><code>{</code></p><p><code>Amount (decimal),</code></p><p><code>CurrencySymbol (string)</code></p><p><code>}</code></p></td><td><p>Taxes details</p><p> </p><p>(In general, most of the time it is blank)</p></td></tr><tr><td>Interests</td><td>decimal?</td><td><p>Interests applied to the payment (if any), as reported by the marketplace. </p><p></p><p>In general, these are interest charges for credit card installment payments. </p><p></p><p><strong>The interest applied to the payment ONLY AFFECTS THE BUYER and does not affect the seller in any way.</strong> </p><p></p><p>In some countries (such as Brazil) it is required to disclose the interest paid by the buyer on the electronic invoice.<br></p></td></tr><tr><td>DateCreated</td><td>datetime (UTC with local user time zone)</td><td>Date and time the payment was created</td></tr><tr><td>DateApproved</td><td>datetime (UTC with local user time zone)</td><td>Date and time the payment was approved</td></tr><tr><td>LastUpdate</td><td>datetime (UTC with local user time zone)</td><td>Date and time the payment was last updated</td></tr></tbody></table>

#### Discount

***

| Property    | Type                                                                                                           | Description                                                                                                                                                                                                                      |
| ----------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Code        | string                                                                                                         | <p>The marketplace discount code type for the applied discount. Available values are:</p><p><br>• Coupon <br>• Discount <br>• Cashback<br>• Voucher <br>• Redeem <br>• Other <br>(none of above values)</p>                      |
| Type        | string                                                                                                         | <p>The discount value type. <br>Allowed values are:<br><br>• Value (single amount)<br>• Percentage</p>                                                                                                                           |
| Amount      | decimal?                                                                                                       | <p>The monetary amount of the applied discount.<br><br>• Positive decimal numbers means a discount. <br>• Negative decimal numbers means a surcharge/recharge.</p>                                                               |
| Value       | decimal?                                                                                                       | <p>The amount of the discount, depending on the “type” value type.<br><br>• Positive decimal numbers means a discount. <br>• Negative decimal numbers means a surcharge/recharge.</p>                                            |
| Seller      | <p><code>{</code></p><p><code>Amount: decimal,</code></p><p><code>Value: decimal</code> <br><code>}</code></p> | The amount and value of the current discount absorbed by the seller.                                                                                                                                                             |
| Marketplace | <p><code>{</code></p><p><code>Amount: decimal,</code></p><p><code>Value: decimal</code> <br><code>}</code></p> | The amount and value of the current discount absorbed by the marketplace.                                                                                                                                                        |
| Quantity    | integer                                                                                                        | The quantity of the type of discount applied. This refers to the number of coupons, cashback, and other types of discounts applied. It is for informational purposes only. Total discounts take the quantity into consideration. |
| Priority    | string                                                                                                         | The order of priority in which the discount should be applied.                                                                                                                                                                   |
| Notes       | string                                                                                                         | The marketplace notes for the applied discount.                                                                                                                                                                                  |

### Shipping

***

| Property              | Type                                                                                                           | Description                                                                                                                                                                                                          |
| --------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ExternalShippingId    | integer                                                                                                        | Marketplace ID of the shipping                                                                                                                                                                                       |
| Cost                  | decimal?                                                                                                       | <p>Total and complete shipping cost (if any) of the order.</p><p> </p>                                                                                                                                               |
| **SellerCost**        | decimal?                                                                                                       | <p>The shipping cost (if any) that the seller of the order should pay.</p><p> </p>                                                                                                                                   |
| **ReceiverCost**      | decimal?                                                                                                       | The shipping cost (if any) that the receiver/buyer of the order should pay.                                                                                                                                          |
| Method                | <p><code>{</code></p><p><code>Key (string),</code></p><p><code>Value (string)</code></p><p><code>}</code></p>  | <p>Method type, Method name:</p><p> </p><p>0 = Agreement,</p><p>1 = DropShipping,</p><p>2 = ClientPickup,</p><p>3 = MarketplaceShipping,</p><p>4 = OwnShipment,</p><p>5 = ThirdPartyShipping</p>                     |
| Status                | <p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p> | Current status of the shipping. For further details see “Possible order statuses” section below                                                                                                                      |
| ShippingLabels        | [#shippinglabels](#shippinglabels "mention")                                                                   | Shipping labels detail (if any)                                                                                                                                                                                      |
| LogisticType          | <p>{</p><p>Key (integer),</p><p>Value (string)</p><p>}</p>                                                     | <p>LogisticType, LogisticName:</p><p> </p><p>1 = to\_be\_agreed,</p><p>2 = me1,</p><p>3 = me2, <br>4 = custom,</p><p>5 = fulfillment,</p><p>6 = flex,<br>7 = pickup</p><p>8 = cross\_docking,</p><p>14 = courier</p> |
| CourierInfo           | [#courier](#courier "mention")                                                                                 | <p>The courier’s information that collects and deliver the order.</p><p> </p><p>Valid only when LogisticType attribute is value “14”.</p>                                                                            |
| Receiver              | <p><code>{</code></p><p><code>Name (string),</code></p><p><code>Phone (string)</code></p><p><code>}</code></p> | Receiver personal details                                                                                                                                                                                            |
| ReceiverAddress       | [#address](#address "mention")                                                                                 | Receiver address details                                                                                                                                                                                             |
| Pickup                | [#pickup](#pickup "mention")                                                                                   | Pickup detail (if any)                                                                                                                                                                                               |
| EstimatedDeliveryDate | datetime (UTC with local user time zone)                                                                       | Date the shipment is expected to arrive (might change overtime)                                                                                                                                                      |
| DateCreated           | datetime (UTC with local user time zone)                                                                       | Date and time the shipment was created                                                                                                                                                                               |
| LastUpdated           | datetime (UTC with local user time zone)                                                                       | Date and time the shipment was last updated                                                                                                                                                                          |

#### Courier

***

| Property     | Type                           | Description                                                                                                                                                                                                                                                                                                                                                                         |
| ------------ | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Id           | integer                        | Internal ID of the courier                                                                                                                                                                                                                                                                                                                                                          |
| BusinessName | string                         | Legal business name                                                                                                                                                                                                                                                                                                                                                                 |
| DocType      | string                         | <p>Identification document type.</p><p>Available document types:</p><p></p><p>Argentina: DNI, CUIT, CUIL, LC, LE, Otro.</p><p>Brazil: CPF, RG, CNPJ.</p><p>Chile: RUT, Otro.</p><p>Colombia: CC, CE, NIT, Otro.</p><p>Ecuador: CI, RUC, Otro.</p><p>México: RFC, CURP, Otro.</p><p>Perú: DNI, CE, RUC.</p><p>Uruguay: CI, RUT, Otro.</p><p>Venezuela: CI, RIF, Pasaporte, Otro.</p> |
| DocNumber    | string                         | Document number of the courier.                                                                                                                                                                                                                                                                                                                                                     |
| LegalNumber  | string                         | Legal inscription number of the courier.                                                                                                                                                                                                                                                                                                                                            |
| OwnCode      | string                         | The courier’s internal CODE (if any) that matches the code in the user's ERP.                                                                                                                                                                                                                                                                                                       |
| Address      | [#address](#address "mention") | Address of the courier                                                                                                                                                                                                                                                                                                                                                              |

#### Pickup

***

| Property         | Type    | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| Id               | integer | Alephee ID to identify the Pickup                     |
| Name             | string  | Pickup name                                           |
| BusinessName     | string  | Pickup legal business name (valid only for companies) |
| ExternalPickupId | string  | Marketplace ID of the pickup                          |
| IntegrationCode  | string  | Your internal code indicated for the pickup (if any)  |
| SellerAccountId  | integer | Alephee account ID associated to the pickup (if any)  |

### Address

***

| Property         | Type   | Description                                                                                                                                       |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| CountryId        | string | <p><a href="https://es.wikipedia.org/wiki/ISO_3166-1">ISO 3166-1 alfa-2</a></p><p>Standarized country code</p><p>AR, MX, CL, UY, PE, CO or BR</p> |
| StateCode        | string | <p><a href="https://es.wikipedia.org/wiki/ISO_3166-2">ISO 3166-2</a></p><p>Standarized city code</p>                                              |
| State            | string | .                                                                                                                                                 |
| City             | string | .                                                                                                                                                 |
| Neighborhood     | string | .                                                                                                                                                 |
| StreetName       | string | .                                                                                                                                                 |
| StreetNumber     | string | .                                                                                                                                                 |
| ZipCode          | string | .                                                                                                                                                 |
| Notes            | string | Buyer comments (if any)                                                                                                                           |
| Description      | string | Complete address                                                                                                                                  |
| Phone            | string | .                                                                                                                                                 |
| AlternativePhone | string | .                                                                                                                                                 |

### Buyer

***

| Property    | Type                                             | Description                                                                                                                                                                                                                                                                                                                                                                         |
| ----------- | ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name        | string                                           | .                                                                                                                                                                                                                                                                                                                                                                                   |
| Phone       | string                                           | .                                                                                                                                                                                                                                                                                                                                                                                   |
| Email       | string                                           | .                                                                                                                                                                                                                                                                                                                                                                                   |
| Nickname    | string                                           | Nickname or alias (depends on each marketplace)                                                                                                                                                                                                                                                                                                                                     |
| Code        | integer                                          | The buyer's code (if any)                                                                                                                                                                                                                                                                                                                                                           |
| OwnCode     | string                                           | <p>The buyer's internal CODE (if any) that matches the customer's code in the user's ERP.</p><p> </p><p><mark style="color:orange;">Valid only for Alephee B2B portal orders.</mark></p>                                                                                                                                                                                            |
| DocType     | string                                           | <p>Identification document type.</p><p>Available document types:</p><p></p><p>Argentina: DNI, CUIT, CUIL, LC, LE, Otro.</p><p>Brazil: CPF, RG, CNPJ.</p><p>Chile: RUT, Otro.</p><p>Colombia: CC, CE, NIT, Otro.</p><p>Ecuador: CI, RUC, Otro.</p><p>México: RFC, CURP, Otro.</p><p>Perú: DNI, CE, RUC.</p><p>Uruguay: CI, RUT, Otro.</p><p>Venezuela: CI, RIF, Pasaporte, Otro.</p> |
| DocNumber   | string                                           | Document number                                                                                                                                                                                                                                                                                                                                                                     |
| BillingInfo | [#buyerbillinginfo](#buyerbillinginfo "mention") | Billing information details                                                                                                                                                                                                                                                                                                                                                         |
| Address     | [#address](#address "mention")                   | Buyer address details. It may or may not match the shipping address of the order.                                                                                                                                                                                                                                                                                                   |

#### BuyerBillingInfo

***

| Property            | Type                                           | Description                                                                                                                                                                                                                                                                                                                                                                             |
| ------------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| DocType             | string                                         | <p>Identification document type.</p><p>Available document types:</p><p></p><p>Argentina: DNI, CUIT, CUIL, LC, LE, Otro.</p><p>Brazil: CPF, RG, CNPJ.</p><p>Chile: RUT, Otro.</p><p>Colombia: CC, CE, NIT, Otro.</p><p>Ecuador: CI, RUC, Otro.</p><p>México: RFC, CURP, Otro.</p><p>Perú: DNI, CE, RUC.</p><p>Uruguay: CI, RUT, Otro.</p><p>Venezuela: CI, RIF, Pasaporte, Otro.</p>     |
| DocNumber           | string                                         | Document number                                                                                                                                                                                                                                                                                                                                                                         |
| TaxPayerType        | string                                         | <p>Legal entity type (valid only for companies). string values are subject to change without prior Mercado Libre notice.</p><p> </p><p>Possible values:</p><p> </p><p>Mercado Libre Argentina:</p><p> </p><p>-   Monotributo</p><p>-   IVA Responsable Inscripto</p><p>-   IVA Exento</p><p> </p><p>Mercado Livre Brazil:</p><p> </p><p>-   Contribuinte</p><p>-   Não contribuinte</p> |
| StateRegistration   | [#buyerstatereg](#buyerstatereg "mention")     | <p>Buyer state registration identification. Could be blank.</p><p> </p><p>Valid only for the Mercado Livre Brazil marketplace.</p>                                                                                                                                                                                                                                                      |
| GeneralRegistration | [#buyergeneralreg](#buyergeneralreg "mention") | <p>Buyer general registration identification.  <br><br>Valid only for Brazil.<br><br>May be blank or null, depending on what the marketplace report.</p>                                                                                                                                                                                                                                |
| BusinessName        | string                                         | Legal business name (valid only for companies)                                                                                                                                                                                                                                                                                                                                          |
| Address             | [#address](#address "mention")                 | <p>Billing address details. It may or may not match the buyer's address.</p><p> </p>                                                                                                                                                                                                                                                                                                    |

#### BuyerStateReg

***

| Property  | Type   | Description                                                                                                            |
| --------- | ------ | ---------------------------------------------------------------------------------------------------------------------- |
| DocType   | string | <p>Buyer state registration type. Available values are:</p><p> </p><ul><li>STATE\_REGISTRATION</li><li>OTHER</li></ul> |
| DocNumber | string | <p>The buyer state registration identification document number.</p><p> </p>                                            |

#### BuyerGeneralReg

***

| Property  | Type   | Description                                                                                                              |
| --------- | ------ | ------------------------------------------------------------------------------------------------------------------------ |
| DocType   | string | <p>Buyer general registration type. Available values are:</p><p> </p><ul><li>RG (Registro geral)</li><li>OTHER</li></ul> |
| DocNumber | string | <p>The buyer general registration identification document number.</p><p> </p>                                            |

#### ShippingLabels

***

| Property            | Type   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ShippingLabelUrlPDF | string | Shipping label to be printed URL (if any), in PDF format                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ShippingLabelUrlZIP | string | Shipping label to be printed URL (if any), in ZIP format, containing a TXT file for Zebra printers                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Substatus**       | string | <p>Shipping label substatus. Possible values:</p><p> </p><p>·       pending</p><p>·       stale</p><p>·       ready\_to\_print</p><p>·       invoice\_pending</p><p>·       in\_hub</p><p>·       waiting\_for\_label\_generation</p><p>·       printed</p><p>·       waiting\_for\_carrier\_authorization</p><p>·       ready\_for\_pickup,</p><p>·       picked\_up</p><p>·       buffered</p><p> </p><p>When substatus is “ready to print” or “printed” the client can obtain the definitive labelURL properties.</p><p> </p> |

### Billing

***

| Property | Type                                                                                                                   | Description                                                                                                                                                                                                                                    |
| -------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| SaleFee  | decimal?                                                                                                               | <p>Order total sale fee.</p><p> </p><p>This value matches the sum of individual items sale fee.</p>                                                                                                                                            |
| Invoice  | <p><code>{</code></p><p><code>DanfePdfUrl (string),</code></p><p><code>XmlUrl (string)</code></p><p><code>}</code></p> | <p>Electronic invoice information.</p><p>(Only for the Mercado Libre marketplace and Brazilian accounts)</p><p> </p><p>DanfePdfUrl includes the DANFE PDF file location.</p><p> </p><p>XmlUrl includes the NFE-Model 55 XML file location.</p> |

### Document

***

| Property     | Type                                     | Description                                                                                                                                                                                                         |
| ------------ | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Type         | integer                                  | <p>The order-attached document type. Available values are:</p><p> </p><p>0 = Invoice</p><p>1 = Receipt</p><p>2 = Electronic fiscal invoice</p><p>(Only for Brazil)</p><p>7 = Shipping label (not available yet)</p> |
| Name         | string                                   | The user-assigned document name.                                                                                                                                                                                    |
| Fullfilename | string                                   | The document full filename                                                                                                                                                                                          |
| Extension    | string                                   | The document full filename extension                                                                                                                                                                                |
| Size         | integer                                  | The document file size                                                                                                                                                                                              |
| DocumentDate | datetime (UTC with local user time zone) | The user-assigned document date.                                                                                                                                                                                    |
| DateCreated  | datetime (UTC with local user time zone) | The date and time when user attached the document.                                                                                                                                                                  |
| Number       | string                                   | <p>Available only for document type=2 (Electronic fiscal invoice)</p><p> </p><p>The fiscal invoice number.</p><p> </p>                                                                                              |
| SerialNumber | string                                   | <p>Available only for document type=2 (Electronic fiscal invoice)</p><p> </p><p>The fiscal invoice series number.</p><p> </p>                                                                                       |
| FiscalKey    | string                                   | <p>Available only for document type=2 (Electronic fiscal invoice)</p><p> </p><p>The fiscal invoice fiscal key</p>                                                                                                   |

#### ActiveClaims

***

| Property        | Type                                     | Description                |
| --------------- | ---------------------------------------- | -------------------------- |
| ExternalClaimId | string                                   | The ID of the claim        |
| DateCreated     | datetime (UTC with local user time zone) | Datetime of claim creation |

### Adjustment

***

| Property    | Type                                                                                                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ----------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Type        | <p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p> | <p>Adjustment type, Adjustment name:</p><p> </p><p>0 = No information given.</p><p> </p><p>Could not find what type of adjustment was made on the order</p><p> </p><p>1 = Pricing adjustment.</p><p> </p><p>A price adjustment typically occurs when a promotion, coupon, discount, or similar is applied to an order.</p><p> </p><p>2 = Inventory adjustment.</p><p> </p><p>An inventory adjustment typically occurs when the seller changes the quantities of products requested in the order.</p><p> </p><p>3 = Quantity adjustment.</p><p> </p><p>A quantity adjustment typically occurs when a promotion is applied that modifies the quantities requested in the order.</p><p> </p><p>4 = Availability adjustment</p><p> </p><p>An availability adjustment typically occurs when the seller modifies the delivery time of the order.</p> |
| Code        | string                                                                                                         | <p>The code of the element that made the adjustment</p><p> </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Description | string                                                                                                         | <p>The description of the element that made the adjustment</p><p> </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Item        | <p><a data-mention href="#adjustmentitem">#adjustmentitem</a></p><p> </p>                                      | The item/product in the order that was affected by the adjustment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Value       | <p><a data-mention href="#adjustmentvalue">#adjustmentvalue</a></p><p> </p>                                    | The value that was affected by the adjustment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

#### AdjustmentItem

***

| Property  | Type    | Description                                               |
| --------- | ------- | --------------------------------------------------------- |
| Id        | integer | Alephee ID to identify the product                        |
| Brand     | string  | <p>Product brand name</p><p> </p>                         |
| SKU       | string  | SKU code that identifies the product                      |
| SellerSKU | string  | Your internal SKU code indicated for the product (if any) |

#### AdjustmentValue

***

| Property | Type                                                                                                           | Description                                                                                                                                                                                                                                                                                                                                                  |
| -------- | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Type     | <p><code>{</code></p><p><code>Key (integer),</code></p><p><code>Value (string)</code></p><p><code>}</code></p> | <p>Adjustment value type,</p><p>Adjustment value name:</p><p> </p><p>0 = No information given.</p><p>Could not find what type of adjustment was made on the order</p><p> </p><p>1 = Percentage over price adjustment.</p><p>A percentage over price adjustment.</p><p> </p><p>2 = Fixed price amount adjustment.</p><p>A fixed price adjustment.</p><p> </p> |
| Value    | decimal                                                                                                        | <p>The applied value.</p><p>(It depends on the type above)</p>                                                                                                                                                                                                                                                                                               |
