younifyd
Menu

Get inventory/in-store-pickup/pickup-locations/

Get inventory/in-store-pickup/pickup-locations/

GET/V1/inventory/in-store-pickup/pickup-locations/

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get inventory/in-store-pickup/pickup-locations/ action (under Inventory).
  3. Fill in the fields below, then reference the result from later steps as {{getInventoryInStorePickupPickupLocations.response.data}}.

Request

Query parameters

searchRequest[area][radius]integer

Search radius in KM.

searchRequest[area][searchTerm]string

Search term string.

searchRequest[filters][country][value]string

Value.

searchRequest[filters][country][conditionType]string

Condition Type.

searchRequest[filters][postcode][value]string

Value.

searchRequest[filters][postcode][conditionType]string

Condition Type.

searchRequest[filters][region][value]string

Value.

searchRequest[filters][region][conditionType]string

Condition Type.

searchRequest[filters][regionId][value]string

Value.

searchRequest[filters][regionId][conditionType]string

Condition Type.

searchRequest[filters][city][value]string

Value.

searchRequest[filters][city][conditionType]string

Condition Type.

searchRequest[filters][street][value]string

Value.

searchRequest[filters][street][conditionType]string

Condition Type.

searchRequest[filters][name][value]string

Value.

searchRequest[filters][name][conditionType]string

Condition Type.

searchRequest[filters][pickupLocationCode][value]string

Value.

searchRequest[filters][pickupLocationCode][conditionType]string

Condition Type.

searchRequest[pageSize]integer

Page size.

searchRequest[currentPage]integer

Current page.

searchRequest[scopeType]string

Sales Channel Type.

searchRequest[scopeCode]string

Sales Channel code.

searchRequest[sort][0][field]string

Sorting field.

searchRequest[sort][0][direction]string

Sorting direction.

searchRequest[extensionAttributes][productsInfo][0][sku]string

Product SKU.

Response

Returns 200 with an object. Read it in later steps with {{getInventoryInStorePickupPickupLocations.response.data.<field>}}.

itemsarray<object>

Items list.

pickup_location_codestringrequired

Source code of Pickup Location.

namestring

Pickup Location name.

emailstring

Pickup Location contact email.

faxstring

Fax contact info.

contact_namestring

Pickup Location contact name.

descriptionstring

Pickup Location description.

latitudenumber

Pickup Location latitude.

longitudenumber

Pickup Location longitude.

country_idstring

Pickup Location country ID.

region_idinteger

Pickup Location region ID.

regionstring

Pickup Location region.

citystring

Pickup Location city.

streetstring

Pickup Location street.

postcodestring

Pickup Location postcode.

phonestring

Pickup Location phone.

extension_attributesobject

ExtensionInterface class for @see \Magento\InventoryInStorePickupApi\Api\Data\PickupLocationInterface

search_requestobject

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.

areaobject2 fields

Filter by Distance to the Address. Pickup Locations will be filtered by distance according to the geo-position of the entered address. Required fields for the address are country and one of the field: region or city or postcode.

filtersobject8 fields

Filter to filter by Fields. Each field may be filtered with different condition type. Supported condition types restricted by @see \Magento\Framework\Api\SearchCriteriaInterface

page_sizeinteger

Page size.

current_pageintegerrequired

Current page.

scope_typestringrequired

Sales Channel Type.

scope_codestringrequired

Sales Channel code.

sortarray<object>2 fields

Sort Order.

extension_attributesobject1 fields

ExtensionInterface class for @see \Magento\InventoryInStorePickupApi\Api\Data\SearchRequestInterface

total_countinteger

Total count.

json
{
  "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"
    }
  ],
  "search_request": {
    "current_page": 0,
    "scope_type": "string",
    "scope_code": "string",
    "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,
    "sort": [
      {
        "field": "string",
        "direction": "string"
      }
    ],
    "extension_attributes": {
      "products_info": [
        {
          "sku": "string",
          "extension_attributes": {}
        }
      ]
    }
  },
  "total_count": 0
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.