Skip to content

Allow partial add-on purchase sync updates

Mohamed Moustafa requested to merge mtimoustafa/cdot-10732-followup-bugfix into master

What does this MR do and why?

Follow-up for https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/10732+.

This MR allows API calls to POST namespaces/:namespace_id/subscription_add_on_purchases to supply partial add-on purchase data, while creating or updating add-on purchase information from CustomersDot. This is to allow for cases where only the started_on and expires_on parameters need to be updated, to mark an add-on as deprovisioned.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No visual changes expected.

How to set up and validate locally

  1. Start GDK.
  2. Using curl, Postman, etc., verify that the calls listed here are succeeding.
Edited by Mohamed Moustafa

Merge request reports

Loading