Install the Marketplace Merchant + Product Offer Service Points Availability feature
Edit on GitHubThis document describes how to install the Marketplace Merchant + Product Offer Service Points Availability.
Prerequisites
Install the required features:
NAME | VERSION | INSTALLATION GUIDE |
---|---|---|
Product Offer Service Points Availability | 202410.0 | Install the Product Offer Service Points Availability feature |
Merchant | 202410.0 | Install the Merchant feature |
1) Install the required modules
Install the required modules using Composer:
composer require spryker-feature/marketplace-merchant-product-offer-service-points-availability: "202410.0" --update-with-dependencies
Verification
Make sure the following modules have been installed:
MODULE | EXPECTED DIRECTORY |
---|---|
MerchantProductOfferServicePointAvailability | vendor/spryker/merchant-product-offer-service-point-availability |
MerchantProductOfferServicePointAvailabilitiesRestApi | vendor/spryker/merchant-product-offer-service-point-availabilities-rest-api |
MerchantProductOfferServicePointAvailabilityWidget | vendor/spryker-shop/merchant-product-offer-service-point-availability-widget |
2) Set up transfer objects
Generate transfer changes:
console transfer:generate
Verification
- Make sure the following changes have been applied in transfer objects:
TRANSFER | TYPE | EVENT | PATH |
---|---|---|---|
ProductOfferServicePointAvailabilityRequestItem | class | created | src/Generated/Shared/Transfer/ProductOfferServicePointAvailabilityRequestItemTransfer |
ProductOfferServicePointAvailabilityResponseItem | class | created | src/Generated/Shared/Transfer/ProductOfferServicePointAvailabilityResponseItemTransfer |
RestProductOfferServicePointAvailabilityRequestItemsAttributes | class | created | src/Generated/Shared/Transfer/RestProductOfferServicePointAvailabilityRequestItemsAttributesTransfer |
- Make sure you can use the
merchantReference
filter when sending requests to theproduct-offer-service-point-availabilities
resource. Example:
POST https://glue.mysprykershop.com/product-offer-service-point-availabilities
{
"data": {
"type": "product-offer-service-point-availabilities",
"attributes": {
"servicePointUuids": [
""
],
"serviceTypeUuid": "",
"productOfferServicePointAvailabilityRequestItems": [
{
"productConcreteSku": "",
"productOfferReference": "",
"quantity": 1,
"merchantReference": ""
}
]
}
}
}
Thank you!
For submitting the form