Create and manage sales orders using OPLOG Sales Orders API
referenceNumber
"ORD-2025-001"
✅"MOBILE_ORDER_123"
❌ (contains underscore)"VERY_LONG_ORDER_REFERENCE_NUMBER_EXAMPLE"
❌ (exceeds 30 chars)salesChannel
"Trendyol"
- Trendyol marketplace"Web"
- Website orders"Mobile App"
- Mobile application"mystore.com"
- Custom domain/channel"b2b.company.com"
- B2B portalcustomer
email
- Must be unique customer email addressfirstName
- Customer’s first namelastName
- Customer’s last namephone
- Must start with country code"+12125551234"
✅ (US)"+905551234567"
✅ (Turkey)"+4915512345678"
✅ (Germany)"5551234567"
❌ (missing country code)shippingAddress & billingAddress
addressFirstName
- Recipient’s first nameaddressLastName
- Recipient’s last nameaddressOne
- Primary address linecity
- City namecountry
- Country nameaddressPhone
- Phone number with country codedistrict
- Must use specified values from Turkey location listcity
- Must use specified values from Turkey location listpostalCode
- OptionalpostalCode
- Mandatory for all international addressesdistrict
- Optional (can be state/province)addressTwo
- Additional address informationcompany
- Company name (for corporate orders)taxOffice
- Tax office (for billing addresses in Turkey)taxNumber
- Tax number (for corporate billing)lineItems
amountInOrder
- Quantity of the product being ordered
2
for ordering 2 unitssku
- Unique product identifier
"LAPTOP-001"
, "PHONE-PRO-128GB"
currency
- ISO 4217 currency code
"USD"
, "EUR"
, "TRY"
, "GBP"
productSalePrice
- Unit price of the product
totalPaymentAmount
field is mandatory and must be accurate.Choose Payment Method
Set Payment Amount
totalPaymentAmount
matches the order totalSpecify Currency
payment
paymentOption
- Payment method usedtotalPaymentAmount
- Total payment amountcurrency
- Payment currency (ISO 4217 code)totalPaymentAmount
is mandatory and must be accuratecargo
cargoType
- Type of delivery service"FedEx"
, "UPS"
, "DHL"
, "USPS"
, "Amazon Logistics"
cargoCode
or cargoDocumentUrl
for enhanced tracking"1Z999AA1234567890"
(UPS), "1001 2345 6789"
(FedEx)cargoCode
or cargoDocumentUrl
without cargoCarrier
:cargoType
"RegularDelivery"
for standard e-commerce orders"SamedayDelivery"
for urgent orders (before 09:00 UTC)"ManualDelivery"
for special handling requirementsvas
giftWrap
- Boolean to enable/disable gift wrappinggiftNotes
- Single-line gift message for the recipientdocumentUrl
- Link to document (warranty, manual, certificate)"2025-06-17T10:13:41.479Z"
Standard E-commerce Order
Cash on Delivery (COD) Order
Marketplace Order
Corporate Order
International Order
Gift Order with VAS Services
sales-team-member
, account-manager
, lead-source
b2b
, retail
, wholesale
, gift-order
website
, mobile-app
, marketplace
, phone
fragile
, expedited
, white-glove
sales-team-member,account-manager,lead-source
amazon,trendyol,website,mobile-app
gift-wrap,international,b2b,wholesale
reviewed,approved,on-hold,expedited