Closed Olimhon31 closed 4 years ago
As I understand this is like free local pickup, the buyer will pick up the item.
You can use LocalPickupOnly and set it to true.
The result would look like this.
"shippingType": "FreePickup",
"shippingInfo": {
"shippingServiceCost": {
"_currencyId": "USD",
"value": "0.0"
},
"shippingType": "FreePickup",
"shipToLocations": "Worldwide",
"expeditedShipping": "true",
"oneDayShippingAvailable": "false",
"handlingTime": "1"
},
I tried the call index findItemsAdvanced()
@fsmosca i tried as you said . ShippingType
of most products were FreePickup
but some of them are different(Flat
,Calculated
,Free
). Should it be like this or different?
response = api.execute('findItemsAdvanced',{
'keywords': 'nike',
'itemFilter': [
{
'name':'LocalPickupOnly',
'value':"true"
}
],
})
@fsmosca i tried as you said .
ShippingType
of most products wereFreePickup
but some of them are different(Flat
,Calculated
,Free
). Should it be like this or different?
Free - shipping is free and items will be shipped according to the buyer's specified delivery address. FreePickUp - there is no shipping cost charged to the buyer, but the buyer will pick up the item at a place specified by the seller. Both shippings are free but there is a difference.
response = api.execute('findItemsAdvanced',{ 'keywords': 'nike', 'itemFilter': [ { 'name':'LocalPickupOnly', 'value':"true" } ], })
I use something like this. 'name': 'LocalPickupOnly', 'value': True
Sorry I did misinterpret what you want.
It is returning perhaps all shipping types whether LocalPickupOnly is True or False.
You better try other call index.
If it cannot filter out, just take all shipping types, and run another process to remove the FreePickup shipping type.
is it possible to filter out the products which is delivery type "Collection in person only" in Finding API? Thank you!!!