Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Salesforce Certified B2C Commerce Developer Comm-Dev-101 Question # 46 Topic 5 Discussion

Salesforce Certified B2C Commerce Developer Comm-Dev-101 Question # 46 Topic 5 Discussion

Comm-Dev-101 Exam Topic 5 Question 46 Discussion:
Question #: 46
Topic #: 5

Given this customer basket information:

• A customer has an existing basket that consists of multiple items.

• One of the items is identified as a gift item by an attribute at the product line item.

• The developer needs to write custom code to fetch the customer basket and then modify the basket based upon the items in the cart. If the basket contains any gift items, modify the basket and create a separate shipment for the gift item.

Four hooks are required to make the modification, beginning with modifyGETResponse and ending with validateBasket.

    dw.ocapi.shop.basket.modifyGETResponse

    -- missing hook --

    -- missing hook --

    dw.ocapi.shop.basket.validateBasket

What are the two missing hooks in the middle?


A.

dw.ocapi.shop.basket.shipment.beforePOST AND dw.ocapi.shop.basket.shipment.beforePATCH


B.

dw.ocapi.shop.basket.shipment.beforePOST AND dw.ocapi.shop.basket.shipment.beforeDELETE


C.

dw.ocapi.shop.basket.shipment.beforePATCH AND dw.ocapi.shop.basket.shipment.afterDELETE


Get Premium Comm-Dev-101 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.