productFullUpdatePost
Update product data
Update product data
/ProductFullUpdate
Usage and SDK Samples
curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: aplication/json"\
"https://virtserver.swaggerhub.com/GSXUSER/PIM/1.0.0/ProductFullUpdate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PRODUCTENDPOINTSApi;
import java.io.File;
import java.util.*;
public class PRODUCTENDPOINTSApiExample {
public static void main(String[] args) {
PRODUCTENDPOINTSApi apiInstance = new PRODUCTENDPOINTSApi();
ProductCreateRequesData body = ; // ProductCreateRequesData | Request
String token = token_example; // String | Token de autorización
try {
ProductCreateResponseData result = apiInstance.productFullUpdatePost(body, token);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PRODUCTENDPOINTSApi#productFullUpdatePost");
e.printStackTrace();
}
}
}
import io.swagger.client.api.PRODUCTENDPOINTSApi;
public class PRODUCTENDPOINTSApiExample {
public static void main(String[] args) {
PRODUCTENDPOINTSApi apiInstance = new PRODUCTENDPOINTSApi();
ProductCreateRequesData body = ; // ProductCreateRequesData | Request
String token = token_example; // String | Token de autorización
try {
ProductCreateResponseData result = apiInstance.productFullUpdatePost(body, token);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PRODUCTENDPOINTSApi#productFullUpdatePost");
e.printStackTrace();
}
}
}
ProductCreateRequesData *body = ; // Request
String *token = token_example; // Token de autorización
PRODUCTENDPOINTSApi *apiInstance = [[PRODUCTENDPOINTSApi alloc] init];
// Update product data
[apiInstance productFullUpdatePostWith:body
token:token
completionHandler: ^(ProductCreateResponseData output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var ApiMarketplaceB2BPimIntegrations = require('api_marketplace_b2_b_pim___integrations');
var api = new ApiMarketplaceB2BPimIntegrations.PRODUCTENDPOINTSApi()
var body = ; // {{ProductCreateRequesData}} Request
var token = token_example; // {{String}} Token de autorización
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.productFullUpdatePost(bodytoken, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class productFullUpdatePostExample
{
public void main()
{
var apiInstance = new PRODUCTENDPOINTSApi();
var body = new ProductCreateRequesData(); // ProductCreateRequesData | Request
var token = token_example; // String | Token de autorización
try
{
// Update product data
ProductCreateResponseData result = apiInstance.productFullUpdatePost(body, token);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling PRODUCTENDPOINTSApi.productFullUpdatePost: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiPRODUCTENDPOINTSApi();
$body = ; // ProductCreateRequesData | Request
$token = token_example; // String | Token de autorización
try {
$result = $api_instance->productFullUpdatePost($body, $token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PRODUCTENDPOINTSApi->productFullUpdatePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PRODUCTENDPOINTSApi;
my $api_instance = WWW::SwaggerClient::PRODUCTENDPOINTSApi->new();
my $body = WWW::SwaggerClient::Object::ProductCreateRequesData->new(); # ProductCreateRequesData | Request
my $token = token_example; # String | Token de autorización
eval {
my $result = $api_instance->productFullUpdatePost(body => $body, token => $token);
print Dumper($result);
};
if ($@) {
warn "Exception when calling PRODUCTENDPOINTSApi->productFullUpdatePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.PRODUCTENDPOINTSApi()
body = # ProductCreateRequesData | Request
token = token_example # String | Token de autorización
try:
# Update product data
api_response = api_instance.product_full_update_post(body, token)
pprint(api_response)
except ApiException as e:
print("Exception when calling PRODUCTENDPOINTSApi->productFullUpdatePost: %s\n" % e)
Parameters
Header parameters
| Name | Description |
|---|---|
| token* |
String
Token de autorización
Required
|
Body parameters
| Name | Description |
|---|---|
| body * |