ReDoc documentation
Get Pickup Locations according to the results of filtration by Search Request.
200 Success.
Unexpected error
{- "items": [
- {
- "pickup_location_code": "string",
- "name": "string",
- "email": "string",
- "fax": "string",
- "contact_name": "string",
- "description": "string",
- "latitude": 0,
- "longitude": 0,
- "country_id": "string",
- "region_id": 0,
- "region": "string",
- "city": "string",
- "street": "string",
- "postcode": "string",
- "phone": "string",
- "extension_attributes": { }
}
], - "search_request": {
- "area": {
- "radius": 0,
- "search_term": "string"
}, - "filters": {
- "country": {
- "value": "string",
- "condition_type": "string"
}, - "postcode": {
- "value": "string",
- "condition_type": "string"
}, - "region": {
- "value": "string",
- "condition_type": "string"
}, - "region_id": {
- "value": "string",
- "condition_type": "string"
}, - "city": {
- "value": "string",
- "condition_type": "string"
}, - "street": {
- "value": "string",
- "condition_type": "string"
}, - "name": {
- "value": "string",
- "condition_type": "string"
}, - "pickup_location_code": {
- "value": "string",
- "condition_type": "string"
}
}, - "page_size": 0,
- "current_page": 0,
- "scope_type": "string",
- "scope_code": "string",
- "sort": [
- {
- "field": "string",
- "direction": "string"
}
], - "extension_attributes": {
- "products_info": [
- {
- "sku": "string",
- "extension_attributes": { }
}
]
}
}, - "total_count": 0
}Get Pickup Locations according to the results of filtration by Search Request.
required | object (inventory-in-store-pickup-api-data-search-request-interface) Endpoint used to search Pickup Locations by different parameters: - by attribute filters fields @see \Magento\InventoryInStorePickupApi\Api\Data\SearchRequest\FiltersInterface - by distance to the address @see \Magento\InventoryInStorePickupApi\Api\Data\SearchRequest\AreaInterface Also, endpoint supports paging and sort orders. |
200 Success.
Unexpected error
{- "searchRequest": {
- "area": {
- "radius": 0,
- "search_term": "string"
}, - "filters": {
- "country": {
- "value": "string",
- "condition_type": "string"
}, - "postcode": {
- "value": "string",
- "condition_type": "string"
}, - "region": {
- "value": "string",
- "condition_type": "string"
}, - "region_id": {
- "value": "string",
- "condition_type": "string"
}, - "city": {
- "value": "string",
- "condition_type": "string"
}, - "street": {
- "value": "string",
- "condition_type": "string"
}, - "name": {
- "value": "string",
- "condition_type": "string"
}, - "pickup_location_code": {
- "value": "string",
- "condition_type": "string"
}
}, - "page_size": 0,
- "current_page": 0,
- "scope_type": "string",
- "scope_code": "string",
- "sort": [
- {
- "field": "string",
- "direction": "string"
}
], - "extension_attributes": {
- "products_info": [
- {
- "sku": "string",
- "extension_attributes": { }
}
]
}
}
}{- "items": [
- {
- "pickup_location_code": "string",
- "name": "string",
- "email": "string",
- "fax": "string",
- "contact_name": "string",
- "description": "string",
- "latitude": 0,
- "longitude": 0,
- "country_id": "string",
- "region_id": 0,
- "region": "string",
- "city": "string",
- "street": "string",
- "postcode": "string",
- "phone": "string",
- "extension_attributes": { }
}
], - "search_request": {
- "area": {
- "radius": 0,
- "search_term": "string"
}, - "filters": {
- "country": {
- "value": "string",
- "condition_type": "string"
}, - "postcode": {
- "value": "string",
- "condition_type": "string"
}, - "region": {
- "value": "string",
- "condition_type": "string"
}, - "region_id": {
- "value": "string",
- "condition_type": "string"
}, - "city": {
- "value": "string",
- "condition_type": "string"
}, - "street": {
- "value": "string",
- "condition_type": "string"
}, - "name": {
- "value": "string",
- "condition_type": "string"
}, - "pickup_location_code": {
- "value": "string",
- "condition_type": "string"
}
}, - "page_size": 0,
- "current_page": 0,
- "scope_type": "string",
- "scope_code": "string",
- "sort": [
- {
- "field": "string",
- "direction": "string"
}
], - "extension_attributes": {
- "products_info": [
- {
- "sku": "string",
- "extension_attributes": { }
}
]
}
}, - "total_count": 0
}