Skip to content

Conversation

@mdovhopo
Copy link
Contributor

@mdovhopo mdovhopo commented Jul 18, 2023

Adding merge query param to shipments replace databag method (docs - https://apidocs.kibocommerce.com/?spec=fulfillment#put-/commerce/shipments/-shipmentNumber-/data)

i've tested it locally with my changes with scenarious:

  • default case, no merge prop specified. sdk behaves in a same way as before, replaces full databag with new value:
Screenshot 2023-07-18 at 7 54 17 PM
  • when merge=true, databag is merged with new value instead of replacing:
Screenshot 2023-07-18 at 7 55 02 PM
  • when merge=false, databag is replaced with new value:
Screenshot 2023-07-18 at 7 55 24 PM

@mdovhopo mdovhopo changed the title feat: add merge query param to replace shipment databag method feat(shipment-api): add merge query param to replace shipment databag method Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant