Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar


Por supuesto:

B2B Commerce

» Iniciar este curso
(Practica preguntas similares gratis)
Pregunta:

What are the steps needed to do a B2B Commerce API call

Autor: Niels Petiet



Respuesta:

1. Set up a Map<String, Object> for the data you're requesting from the API. 2. Specify the IDs to query (set) 3. Specify the version of the API call. ccrz.ccApi.API_VERSION key is defined on the ccrz.ccApi base class and required 4. Add a ccrz.ccApi.SIZING key to the productFetchQuery map (determines how many results are returned. Restrict by referencing a ccrz.ccApiProduct.ENTITYNAME key 5. Specify how many fields you want to return for each product record, add the ccrz.ccApi.SZ_DATA key to ccrz.ccApiProduct.ENTITYNAME. 6. To parse the data received back, create Add try and catch statements in the ccrz.ccApiProduct.fetch() method 7. Create a List collection and parse it


0 / 5  (0 calificaciones)

1 answer(s) in total