src/Bigcommerce/Api/Client.php
public static function updateResource($path, $object)
    {
        if (is_array($object)) {
            $object = (object)$object;
        }

        return self::connection()->put(self::$api_path . $path, $object);
    }
public static function updateResource($path, $object)
    {
        if (is_array($object)) {
            $object = (object)$object;
        }

        return self::connection()->put(self::$api_path . $path, $object);
    }
public static function updateResource ( $ path , $ object ) { if ( is_array ( $ object ) ) { $ object = ( object ) $ object ; } return self :: connection ( ) -> put ( self :: $ api_path . $ path , $ object ) ; }
Send a put request to update the specified resource.

@param string $path api endpoint
@param mixed $object object or XML string to update
@return mixed
Send a put request to update the specified resource .