ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 119 - Certified B2C Commerce Developer discussion

Report
Export

A developer is asked to write a job that is responsible for updating the customer order based upon a trigger from the Order Management System (OMS). While all the information for the order remains the same, the Order number provided by the OMS needs to replace the existing Order Number.

The developer chooses to use the B2C OCAPI hooks to update the order to achieve the above requirement.

According to best practices which OCAPI call should the developer use along with which OCAPI hook?

A.
PATCH /orders/{order_no} with dw.ocapi.shop.order.beforePATCH
Answers
A.
PATCH /orders/{order_no} with dw.ocapi.shop.order.beforePATCH
B.
DELETE /orders/{old_order_no} with dw.ocapi.shop.order.afterDELETE
Answers
B.
DELETE /orders/{old_order_no} with dw.ocapi.shop.order.afterDELETE
C.
PATCH /orders/{order_no} with dw.ocapi.shop.order.afterPATCH
Answers
C.
PATCH /orders/{order_no} with dw.ocapi.shop.order.afterPATCH
D.
POST /orders/{order_no} with dw.ocapi.shop.order.afterPOST
Answers
D.
POST /orders/{order_no} with dw.ocapi.shop.order.afterPOST
Suggested answer: C
asked 23/09/2024
DANIEL DOYEN
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first