Menu
Create inventory/in-store-pickup/pickup-locations/
Create inventory/in-store-pickup/pickup-locations/
POST
/V1/inventory/in-store-pickup/pickup-locations/Use it in a workflow
- Add a step and choose the Adobe Commerce connector.
- Pick the Create inventory/in-store-pickup/pickup-locations/ action (under Inventory).
- Fill in the fields below, then reference the result from later steps as
{{createInventoryInStorePickupPickupLocations.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"searchRequest": {
"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": {}
}
]
}
}
}
Response
Returns 200 with an object. Read it in later steps with {{createInventoryInStorePickupPickupLocations.response.data.<field>}}.
{
"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.
Was this page helpful?