---
schema_version: "1"
id: 5ba33e2b435bdd543f8d28cc12cb034db12ad83904127549fc7aa38bd00bec88
title: Shipping Method Object Import/Export in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_shipping_method_object_import_export.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_shipping_method_object_import_export.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 515c5d3c9b4eb255ad6e1c0ac8b128e639385b746f03a13dc342fa7d7fe27dd3
description: Use the shipping.xsd schema file to import shipping methods.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Shipping Method Object Import/Export in B2C Commerce

Use the shipping.xsd schema file to import shipping methods.

## Business Manager Import Location

_Granularity:_ selected shipping methods.

**Ordering** | **Import & Export**

## Pipelets

ImportShippingMethods

ExportShippingMethods

_Granularity:_ passed shipping methods.

## Schema Elements

Product Shipping Line Items

The order.xsd export format supports the product shipping line items via these types:

```markup

<xsd:complexType name="complexType.ProductLineItem">
<xsd:complexType name="complexType.ProductShippingLineItem">
<xsd:simpleType name="simpleType.ProductShippingCostType">
```

The shipping.xsd schema file (shipping methods section) also represents the item-level shipping costs and exclusions.

Trimmed Whitespace

When editing the product rules of promotions and shipping methods, it's possible to enter IDs for Products, Price Books, Brands, or Catalog Categories with leading and trailing white spaces. Business Manager trims the IDs when saving a product rule. The promotion and shipping method export also trims the IDs contained in the product rules of existing promotions or shipping methods

Call Center API - Order Export

For applications that use the Call Center APIs, order export reports the following status codes:

- EXPORT\_STATUS\_NOTEXPORTED: Optional date when an order can be exported (exportAfter).
    
    This status code is the initial status after the order is created. An export after date can already be defined, which is used when the order status changes to _READY._
    
    Result: An order can't be exported with this status.
- EXPORT\_STATUS\_READY: Optional date when an order can be exported (exportAfter).
    
    This status code indicates that the order is validated and ready for export to an external system. The export can happen unless the order _exportAfter_ attribute represents a date in the future. If the attribute represents a date in the future, the order is essentially _on-hold._ During order modification, _exportAfter_ prevents an order from being exported prematurely.
    
    Result: An order can be exported with this status.
- EXPORT\_STATUS\_EXPORTED: This status code is the final state after an order has been exported.
    
    Result: This status indicates that an order has been exported.
- EXPORT\_STATUS\_FAILED: Indicates that an order export to a third-party system failed. The status indicates that exporting this order failed. Correct the problem manually before exporting the order again.
    
    Result: This status indicates that an attempted order export failed.

The _exportAfter_ time can be set only in the status EXPORT\_STATUS\_NOTEXPORTED or EXPORT\_STATUS\_READY. However, the time is only evaluated in the state EXPORT\_STATUS\_READY. The time delays the actual export of an order, which otherwise is ready for export.