Skip to content

add support for custom images (selfservice only) - #11

Open
Fosca42 wants to merge 1 commit into
masterfrom
add-custom-images-support
Open

add support for custom images (selfservice only)#11
Fosca42 wants to merge 1 commit into
masterfrom
add-custom-images-support

Conversation

@Fosca42

@Fosca42 Fosca42 commented Jun 4, 2025

Copy link
Copy Markdown
Collaborator

This adds UI support for custom images:

  • image files can be dragged upon a drop zone and will be added to custom image list
  • custom images can be selected by simply clicking them, they get selected in the UI and should appear in the visualization
  • custom images can be removed by clicking the trash can icon on their lower right corner

So, this uses all 5 custom image API calls:

  • getCustomImageFiles (/custom-images/[shoppingCartItemId]/[customImageId]/get-custom-image-file-list "GET")
  • deleteCustomImageFile (/custom-images/[shoppingCartItemId]/[customImageId]?file=[file] "DELETE")
  • uploadCustomImageFile (/custom-images/[shoppingCartItemId]/[customImageId]?file=[file] "POST")
  • selectCustomImage (/custom-images/[shoppingCartItemId]/[customImageId]?file=[file] "PUT")
  • getSelectedCustomImages (/custom-images/[shoppingCartItemId]/get-selected-custom-images "GET")

@Fosca42
Fosca42 requested a review from jnmonette June 4, 2025 12:42
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