data

oke
mail@pastecode.io avatar
unknown
javascript
2 years ago
895 B
0
Indexable
Never
 var data = {
          "pembayaran": newMarkers,
          "waktu_operasional": HariOperational,
          "deliveryId": id_pengiriman.split(","),
          "address":`${address}`,
          "storeId": `${storeId}`,
          "accountId": `${accountId}`,
          "branchNo": `${branchNo}`,
          "location":`${LocationUsaha}`,
          "servedArea": `${AreaLayanan}`,
          "id_user": `${id_user}`,
          "waPhone": `${NoWhatshap}`,
          "provinceId": `${provinceId}`,
          "cityId": `${cityId}`,
          "districtId": `${cityId}`,
          "latitude": `${lot}`,
          "longitude": `${long}`
        };
        
        var config = {
          method: 'post',
          url: `${url.server}v2/store/edit-store`,
          headers: { 
            'Content-Type': 'application/json'
          },
          data : data,
          validateStatus:()=>true,
        };