What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello Everybody, We're designing an integration with Customer Management service. We want to expose

U015HHFCU1M
U015HHFCU1M Posts: 81 πŸ§‘πŸ»β€πŸš€ - Cadet

Hello Everybody,
We're designing an integration with Customer Management service.
We want to expose an interface that receives customer data and creates them on a basis of incoming data.
Is it possible to replace customer's id with external id (gid)?

Comments

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    Replace no - because it is heavy referenced across Spryker amd type is int. You can extend the customer with filed that you can reference to.

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    Then of course you need to add a facade method and stuff but it is nothing super complicated

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    We used this approach on project before, when customers were managed outside spryker.

  • U015HHFCU1M
    U015HHFCU1M Posts: 81 πŸ§‘πŸ»β€πŸš€ - Cadet

    Allright, thanks a lot :)