With the help of this method, you can receive your orders that are going through payment security and whose cargo information is expected from the cargo company. After the payment control and the cargo information are completed by the system, the order packages are created by automatic packaging.
1- You can use Awaiting status orders only stock controlling.
2- Orders that passed the payment check will return to you in Created status.
3- Orders that not passed the payment check will return to you in Cancelled status.
https://api.trendyol.com/sapigw/suppliers/{supplierid}/orders?status=Awaiting
Parameter | Parameter Value | Explanation | Type |
---|---|---|---|
startDate | It fetches the next orders from a specific date. Must be sent as Timestamp | long | |
endDate | It fetches orders up to the specified date. Must be sent as Timestamp. | long | |
page | Only return information on the specified page | int | |
size | Specifies the maximum number to list on a page. | int | |
supplierId | ID information of the relevant supplier should be sent | long | |
orderNumber | Only a specific order number is given to bring that order's information | string | |
status | Created, Picking, Invoiced, Shipped, Cancelled, Delivered, UnDelivered, Returned, Repack, UnSupplied | Fetchs the information according to the status of orders. | string |
orderByField | PackageLastModifiedDate | Based on the last update date. | string |
orderByField | CreatedDate | Based on the order creation date. | string |
orderByDirection | ASC | Sorts from old to new. | string |
orderByDirection | DESC | Sorts from new to old. | string |
shipmentPackageIds | Trendyol shipmentPackageIds | long |
Statü | Açıklama |
---|---|
orderDate | When the customer creates the order on trendyol.com. |
Awaiting | It returns when the payment is waiting the confirm. (You should not take any action until these orders with this status change to "Created" status. You can use this status only for stock updates.) |
{
"page": 0,
"size": 50,
"totalPages": 1,
"totalElements": 1,
"content": [
{
"shipmentAddress": {
"id": 0,
"firstName": "***",
"lastName": "***",
"address1": "***",
"address2": "***",
"city": "***",
"cityCode": 0,
"district": "***",
"districtId": 0,
"postalCode": "***",
"countryCode": "***",
"phone": "***",
"fullAddress": "*** *** *** ***",
"fullName": "*** ***"
},
"orderNumber": "252647418",
"grossAmount": 55.95,
"totalDiscount": 0.00,
"taxNumber": "***",
"invoiceAddress": {
"id": 0,
"firstName": "***",
"lastName": "***",
"company": "",
"address1": "***",
"address2": "***",
"city": "***",
"cityCode": 0,
"district": "***",
"districtId": 0,
"postalCode": "***",
"countryCode": "***",
"phone": "***",
"fullAddress": "*** *** *** ***",
"fullName": "*** ***"
},
"customerFirstName": "***",
"customerEmail": "***",
"customerId": 0,
"customerLastName": "***",
"id": 0,
"cargoTrackingNumber": 0,
"cargoProviderName": "***",
"lines": [
{
"quantity": 1,
"productId": 197197197,
"salesCampaignId": 111111,
"productSize": "L",
"merchantSku": "merchantSku",
"productName": "Kadın Siyah Pantolon",
"productCode": 554554554,
"amount": 55.95,
"discount": 0,
"discountDetails": [
{
"lineItemPrice": 55.95,
"lineItemDiscount": 0
}
],
"currencyCode": "TRY",
"productColor": "SIYAH",
"id": 444444444,
"sku": "skue",
"vatBaseAmount": 8.0,
"barcode": "6000001036071",
"orderLineItemStatusName": "Approved",
"price": 55.95
}
],
"orderDate": 1583327549228,
"tcIdentityNumber": "99999999999",
"currencyCode": "TRY",
"packageHistories": [
{
"createdDate": 0,
"status": "Awaiting"
}
],
"shipmentPackageStatus": "Approved",
"deliveryType": "normal",
"estimatedDeliveryStartDate": 1583392349000,
"estimatedDeliveryEndDate": 1583824349000,
"totalPrice": 55.95
}
]
}