GetInStorePickupLocation

Retrieves the details of the location configured for the in-store pickup (SP) location usage type for the site specified in the request. If the location is not associated with a location type configured for the in-store pickup location usage type (SP), the operation returns an error.

Request

HTTP Request

GET
 api/commerce/storefront/locationUsageTypes%2fSP%2flocations%2f%7blocationCode%7d%3fincludeAttributeDefinition%3d%7bincludeAttributeDefinition%7d%26responseFields%3d%7bresponseFields%7d

Parameters

Parameter NameDescription
Parameters
locationCodetype: string 

The unique, user-defined code that identifies a location.

includeAttributeDefinitiontype: bool 

True if you want to include the custom attribute definition for the location.

responseFieldstype: string 

Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.

Request Properties

No request body content

Response Properties

When successful, this operation returns a commerce/storefront resource in the response body.