Skip to main content
POST
cURL
This API starts the process of creating an order in the Global-e system. OrderCreationSource is an important attribute in the Class SendFinalCartData and the value of OrderCreationSource can be called in different ways in the order creation process.

Body

application/json

Full cart data for the order creation process.

BillingDetails
UserDetails · object
CheckoutUrl
string

Checkout URL; it redirects you to the checkout or confirmation page (different URL for each Merchant)

CustomerPayments
FinalCustomerPayments · object

The values of total duties, total taxes, total additional fees (like Custom Clearance Fee), shipping price, and total that was shown to the customer on the checkout page

GiftCards
Merchant.CheckoutInfoGiftCard · object[]

The collection of GiftCards that were applied to the cart

IsSameDayDispatchSelected
boolean

Indicates if the user selected an option to dispatch the order on the same day TRUE - Selected to dispatch order on the same day FALSE - Did not select to dispatch order on the same day

IsTaxPrePaid
boolean

Indicates if the end customer has selected or has been forced to prepay duties & taxes TRUE - Selected to prepay taxes FALSE - Did not select to prepay taxes

MarketplaceData
MarketplaceData · object

Marketplace information received by the API

OrderCreationSource
enum<integer>

Source where order was created. Can be one of the following: GECheckout = 0 Marketplace = 1 ExternalApp = 2 ShopifyAPI = 3

Available options:
0,
1,
2,
3
OrderData
CreateSyncOrderData · object

Information about the order

OrderReplacementData
OrderReplacementData · object

Order replacement information received by the API

ShippingDetails
UserDetails · object
ShippingMethodId
string

The ID of the shipping option selected by the customer

Response

200 - application/json

Indicates if the API call was successful.

Indicates if the API call was successful.

Success
boolean

Indicates if the call was successful. TRUE - Call was successful. FALSE - Call not successful. ErrorInfo will be returned.

Reason
string

Text that optionally describes the reason for Success status.