You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# A +PUT+ request is used to assign a variation images differentiator for a variation product. The differentiator can be one of the variation attributes defined by the merchant, e.g. name, size, or color.
256
+
# A +POST+ request is used to assign a variation attribute as the variation images differentiator for a variation product.
257
257
#
258
258
# @beyond_api.scopes +prod:u+
259
259
#
260
-
# $ curl 'https://api-shop.beyondshop.cloud/api/products/30839efc-47f7-4d55-aa13-aac7532982b6/variation-images-differentiator' -i -X PUT \
260
+
# $ curl 'https://api-shop.beyondshop.cloud/api/products/f205294b-17dc-4f75-8b5e-5df72abb96df/variation-attributes/491fedf4-37a9-4bcf-98b8-cff2f82879b7/make-differentiator' -i -X POST \
261
261
# -H 'Content-Type: application/hal+json' \
262
262
# -H 'Accept: application/hal+json' \
263
-
# -H 'Authorization: Bearer <Access token>' \
264
-
# -d '{
265
-
# "differentiator" : "size"
266
-
# }'
263
+
# -H 'Authorization: Bearer <Access token>'
267
264
#
268
265
# @param product_id [String] the product UUID
269
-
# @param differentiator [String] the differentiator
266
+
# @param variation_attribute_id [String] the variation attribute UUID
0 commit comments