commercetools / merchant-center-application-kit

Tools and components for developing Merchant Center Customizations 🛠
https://docs.commercetools.com/merchant-center-customizations
MIT License
67 stars 27 forks source link

RAML specifications for the merchant center management API #2780

Open mvantellingen opened 2 years ago

mvantellingen commented 2 years ago

Is your feature request related to a problem? Please describe. We use our terraform provider to manage commercetools rollouts. We have a number of projects which use custom merchant center extensions and we have no easy way to automate this part of the rollout.

Having a public, documented API for this would allow us to add support to the provider.

Describe the solution you'd like

There is an old PR at https://github.com/labd/terraform-provider-commercetools/pull/109 to add support. However this is via GraphQL. Allowing us to manage this via a Rest API documented as all other API's via RAML allows us to auto-generate the SDK's needed to implement this.

I think adding a mc directory to https://github.com/commercetools/commercetools-api-reference/tree/main/api-specs would be best case scenario.

Describe alternatives you've considered

A document GraphQL interface is doable, but not preferred :-)

mmaltsev-ct commented 2 years ago

Hi @mvantellingen, thank you for creating a ticket. We'll have a discussion about this topic internally and get back to you :)

mmaltsev-ct commented 2 years ago

Hey @mvantellingen, do you mind sharing with us a bit more about the current use case for such a service? Also, just wanted to mention, that we have improved our CLI tool, and maybe this is something that could be considered instead of GraphQL for such a service.