The following sections describe all changes made to OCAPI since version 21.2.
Resource Name | Change | Http Method | URL Template | API | Details |
---|---|---|---|---|---|
Campaigns | Added | PATCH | /sites/{site_id}/campaigns/{campaign_id}/promotions/{promotion_id} | Data | N/A |
Campaigns | Changed | PUT | /sites/{site_id}/campaigns/{campaign_id}/promotions/{promotion_id} | Data | More |
Customers | Changed | PUT | /customers/{customer_id}/password | Shop | More |
Document Name | Change | API | Details |
---|---|---|---|
PromotionCampaignAssignment | Changed | Data API | More |
The following requests have been modified since 21.2.
PUT /sites/{site_id}/campaigns/{campaign_id}/promotions/{promotion_id}
Element | Change | API | 21.2 | 21.3 |
---|---|---|---|---|
Body | Changed | Data | None | PromotionCampaignAssignment |
PUT /customers/{customer_id}/password
Element | Change | API | 21.2 | 21.3 |
---|---|---|---|---|
Description | Changed | Shop | Updates a customer's password. The update is made by the default afterPUT hook, not the PUT call. Thus, if you customize the afterPUT hook, your custom code must update the password. | Updates a customer's password. The default implementation to update password update is now in resource itself. Thus, if you customize the afterPUT_v2 hook, your custom code must update the password. This endpoint can now be used by Mercury API to address the gap caused by disabling hooks. |
Fault | Changed | Shop | InvalidCustomerException(400): If customerId URL parameter does not match the verified customer represented by the JWT, not relevant when using OAuth. |
InvalidCustomerException(400): If customerId URL parameter does not match the verified customer represented by the JWT, not relevant when using OAuth. |
Fault | Changed | Shop | CustomerNotFoundException(404): Indicates that the customer with the given customer id is unknown. customerId (String) |
CustomerNotFoundException(404): Indicates that the customer with the given customer id is unknown. customerId (String) |
The following documents have been modified since 21.2.
PromotionCampaignAssignment