curl --request PUT \
--url https://api.steppay.kr/api/v1/products/{id} \
--header 'Content-Type: application/json' \
--header 'Secret-Token: <api-key>' \
--data '
{
"type": "SOFTWARE",
"status": "SALE",
"name": "넷플릭스 구독 상품",
"featuredImageUrl": "string",
"imageUrls": [
"string"
],
"description": "다양한 영화와 드라마",
"summary": "New summary",
"sku": "회차",
"quantity": null,
"eventBadge": [
{
"event": "string",
"startDateTime": "9999-01-01T00:00:00",
"endDateTime": "9999-01-01T00:00:00"
}
],
"productOrder": 0,
"enabledDemo": true,
"demoPeriod": 29,
"demoPeriodUnit": "DAY",
"combinedProducts": [],
"useCombination": false,
"optionCombinations": null,
"isOnetimePurchasable": false,
"useWidget": {
"useDemo": true,
"useEventBadge": true,
"useOnetimePurchasable": true,
"useNotice": true
},
"categoryIds": []
}
'import requests
url = "https://api.steppay.kr/api/v1/products/{id}"
payload = {
"type": "SOFTWARE",
"status": "SALE",
"name": "넷플릭스 구독 상품",
"featuredImageUrl": "string",
"imageUrls": ["string"],
"description": "다양한 영화와 드라마",
"summary": "New summary",
"sku": "회차",
"quantity": None,
"eventBadge": [
{
"event": "string",
"startDateTime": "9999-01-01T00:00:00",
"endDateTime": "9999-01-01T00:00:00"
}
],
"productOrder": 0,
"enabledDemo": True,
"demoPeriod": 29,
"demoPeriodUnit": "DAY",
"combinedProducts": [],
"useCombination": False,
"optionCombinations": None,
"isOnetimePurchasable": False,
"useWidget": {
"useDemo": True,
"useEventBadge": True,
"useOnetimePurchasable": True,
"useNotice": True
},
"categoryIds": []
}
headers = {
"Secret-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Secret-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'SOFTWARE',
status: 'SALE',
name: '넷플릭스 구독 상품',
featuredImageUrl: 'string',
imageUrls: ['string'],
description: '다양한 영화와 드라마',
summary: 'New summary',
sku: '회차',
quantity: null,
eventBadge: [
{
event: 'string',
startDateTime: '9999-01-01T00:00:00',
endDateTime: '9999-01-01T00:00:00'
}
],
productOrder: 0,
enabledDemo: true,
demoPeriod: 29,
demoPeriodUnit: 'DAY',
combinedProducts: [],
useCombination: false,
optionCombinations: null,
isOnetimePurchasable: false,
useWidget: {
useDemo: true,
useEventBadge: true,
useOnetimePurchasable: true,
useNotice: true
},
categoryIds: []
})
};
fetch('https://api.steppay.kr/api/v1/products/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.steppay.kr/api/v1/products/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'type' => 'SOFTWARE',
'status' => 'SALE',
'name' => '넷플릭스 구독 상품',
'featuredImageUrl' => 'string',
'imageUrls' => [
'string'
],
'description' => '다양한 영화와 드라마',
'summary' => 'New summary',
'sku' => '회차',
'quantity' => null,
'eventBadge' => [
[
'event' => 'string',
'startDateTime' => '9999-01-01T00:00:00',
'endDateTime' => '9999-01-01T00:00:00'
]
],
'productOrder' => 0,
'enabledDemo' => true,
'demoPeriod' => 29,
'demoPeriodUnit' => 'DAY',
'combinedProducts' => [
],
'useCombination' => false,
'optionCombinations' => null,
'isOnetimePurchasable' => false,
'useWidget' => [
'useDemo' => true,
'useEventBadge' => true,
'useOnetimePurchasable' => true,
'useNotice' => true
],
'categoryIds' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Secret-Token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.steppay.kr/api/v1/products/{id}"
payload := strings.NewReader("{\n \"type\": \"SOFTWARE\",\n \"status\": \"SALE\",\n \"name\": \"넷플릭스 구독 상품\",\n \"featuredImageUrl\": \"string\",\n \"imageUrls\": [\n \"string\"\n ],\n \"description\": \"다양한 영화와 드라마\",\n \"summary\": \"New summary\",\n \"sku\": \"회차\",\n \"quantity\": null,\n \"eventBadge\": [\n {\n \"event\": \"string\",\n \"startDateTime\": \"9999-01-01T00:00:00\",\n \"endDateTime\": \"9999-01-01T00:00:00\"\n }\n ],\n \"productOrder\": 0,\n \"enabledDemo\": true,\n \"demoPeriod\": 29,\n \"demoPeriodUnit\": \"DAY\",\n \"combinedProducts\": [],\n \"useCombination\": false,\n \"optionCombinations\": null,\n \"isOnetimePurchasable\": false,\n \"useWidget\": {\n \"useDemo\": true,\n \"useEventBadge\": true,\n \"useOnetimePurchasable\": true,\n \"useNotice\": true\n },\n \"categoryIds\": []\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Secret-Token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.steppay.kr/api/v1/products/{id}")
.header("Secret-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"SOFTWARE\",\n \"status\": \"SALE\",\n \"name\": \"넷플릭스 구독 상품\",\n \"featuredImageUrl\": \"string\",\n \"imageUrls\": [\n \"string\"\n ],\n \"description\": \"다양한 영화와 드라마\",\n \"summary\": \"New summary\",\n \"sku\": \"회차\",\n \"quantity\": null,\n \"eventBadge\": [\n {\n \"event\": \"string\",\n \"startDateTime\": \"9999-01-01T00:00:00\",\n \"endDateTime\": \"9999-01-01T00:00:00\"\n }\n ],\n \"productOrder\": 0,\n \"enabledDemo\": true,\n \"demoPeriod\": 29,\n \"demoPeriodUnit\": \"DAY\",\n \"combinedProducts\": [],\n \"useCombination\": false,\n \"optionCombinations\": null,\n \"isOnetimePurchasable\": false,\n \"useWidget\": {\n \"useDemo\": true,\n \"useEventBadge\": true,\n \"useOnetimePurchasable\": true,\n \"useNotice\": true\n },\n \"categoryIds\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.steppay.kr/api/v1/products/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Secret-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"SOFTWARE\",\n \"status\": \"SALE\",\n \"name\": \"넷플릭스 구독 상품\",\n \"featuredImageUrl\": \"string\",\n \"imageUrls\": [\n \"string\"\n ],\n \"description\": \"다양한 영화와 드라마\",\n \"summary\": \"New summary\",\n \"sku\": \"회차\",\n \"quantity\": null,\n \"eventBadge\": [\n {\n \"event\": \"string\",\n \"startDateTime\": \"9999-01-01T00:00:00\",\n \"endDateTime\": \"9999-01-01T00:00:00\"\n }\n ],\n \"productOrder\": 0,\n \"enabledDemo\": true,\n \"demoPeriod\": 29,\n \"demoPeriodUnit\": \"DAY\",\n \"combinedProducts\": [],\n \"useCombination\": false,\n \"optionCombinations\": null,\n \"isOnetimePurchasable\": false,\n \"useWidget\": {\n \"useDemo\": true,\n \"useEventBadge\": true,\n \"useOnetimePurchasable\": true,\n \"useNotice\": true\n },\n \"categoryIds\": []\n}"
response = http.request(request)
puts response.read_body{
"id": 1,
"code": "product_AbCdEfGhI",
"type": "SOFTWARE",
"status": "SALE",
"name": "New Product Name",
"subTitle": null,
"featuredImageUrl": "string",
"imageUrls": [
"string"
],
"description": "New Description",
"summary": "New summary",
"reasonOfReject": "New Reason",
"sku": "units",
"quantity": 0,
"combinedProducts": [],
"optionGroups": [
{
"id": 1,
"name": "string",
"options": [
{
"id": 1,
"name": "string",
"quantity": 0,
"price": 0,
"parent": null
}
],
"depth": null
}
],
"useCombination": false,
"optionCombinations": [],
"prices": [],
"createdAt": "9999-01-01T00:00:00",
"modifiedAt": "9999-01-01T00:00:00",
"enabledDemo": true,
"demoPeriod": 2,
"demoPeriodUnit": "DAY",
"categories": [],
"vendorUuid": "206992bb-6462-4b4f-9847-cf2f40d55b48",
"productOrder": 0,
"isOnetimePurchasable": false,
"eventBadge": [
{
"event": "string",
"startDateTime": "9999-01-01T00:00:00",
"endDateTime": "9999-01-01T00:00:00"
}
],
"notice": "New notice",
"useWidget": {
"useDemo": true,
"useEventBadge": true,
"useOnetimePurchasable": true,
"useNotice": true
},
"groupId": null,
"countrySetting": null
}{
"errorCode": "<string>",
"traceId": "<string>",
"errorMessage": "<string>",
"details": {}
}{
"errorCode": "<string>",
"traceId": "<string>",
"errorMessage": "<string>",
"details": {}
}{
"id": 123,
"code": "<string>",
"combinedProducts": [
{
"code": "<string>",
"name": "<string>",
"description": "<string>",
"options": [
{
"id": 123,
"name": "<string>",
"options": [
{
"id": 123,
"name": "<string>",
"price": 123,
"quantity": 123,
"parent": 123
}
],
"depth": 123
}
],
"prices": [
{
"id": 123,
"code": "<string>",
"price": 123,
"enabledFirstSalePrice": true,
"firstSalePrice": 123,
"billingDate": 123,
"maximumPurchaseQuantity": 123,
"membershipExpirationDate": 123,
"options": [
{
"id": 123,
"price": 123,
"name": "<string>",
"productCode": "<string>",
"priceCode": "<string>",
"priceName": "<string>",
"recurringDTO": {
"id": 123,
"intervalCount": 123
}
}
],
"volumes": [
{
"id": 123,
"min": 123,
"max": 123,
"price": 123
}
],
"basicServing": 123,
"bundlePrices": [
{
"product": "<unknown>",
"price": "<unknown>"
}
],
"onetimeBundlePrice": 123,
"order": 123,
"currencyPrice": {},
"unit": "<string>",
"planName": "<string>",
"planDescription": "<string>",
"setupOption": {
"name": "<string>",
"id": 123,
"price": 123,
"currencyPrice": {}
},
"additionalBilling": {
"id": 123,
"ranges": [
{
"id": 123,
"until": 123,
"price": 123
}
]
},
"recurring": {
"id": 123,
"intervalCount": 123
},
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z",
"plan": {
"name": "<string>",
"description": "<string>",
"isHiddenFromShop": true,
"detailDescription": "<string>",
"adminName": "<string>"
},
"firstSale": {
"enabled": true,
"price": 123,
"currencyPrice": {}
},
"claim": {
"billingDate": 123,
"provideStartDay": 123
}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}
],
"optionGroups": [
{
"id": 123,
"name": "<string>",
"options": [
{
"id": 123,
"name": "<string>",
"price": 123,
"quantity": 123,
"parent": 123
}
],
"depth": 123
}
],
"useCombination": true,
"optionCombinations": [
{
"id": [
123
],
"quantity": 123,
"price": 123
}
],
"prices": [
{
"id": 123,
"code": "<string>",
"price": 123,
"enabledFirstSalePrice": true,
"firstSalePrice": 123,
"billingDate": 123,
"maximumPurchaseQuantity": 123,
"membershipExpirationDate": 123,
"options": [
{
"id": 123,
"price": 123,
"name": "<string>",
"productCode": "<string>",
"priceCode": "<string>",
"priceName": "<string>",
"recurringDTO": {
"id": 123,
"intervalCount": 123
}
}
],
"volumes": [
{
"id": 123,
"min": 123,
"max": 123,
"price": 123
}
],
"basicServing": 123,
"bundlePrices": [
{
"product": "<unknown>",
"price": "<unknown>"
}
],
"onetimeBundlePrice": 123,
"order": 123,
"currencyPrice": {},
"unit": "<string>",
"planName": "<string>",
"planDescription": "<string>",
"setupOption": {
"name": "<string>",
"id": 123,
"price": 123,
"currencyPrice": {}
},
"additionalBilling": {
"id": 123,
"ranges": [
{
"id": 123,
"until": 123,
"price": 123
}
]
},
"recurring": {
"id": 123,
"intervalCount": 123
},
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z",
"plan": {
"name": "<string>",
"description": "<string>",
"isHiddenFromShop": true,
"detailDescription": "<string>",
"adminName": "<string>"
},
"firstSale": {
"enabled": true,
"price": 123,
"currencyPrice": {}
},
"claim": {
"billingDate": 123,
"provideStartDay": 123
}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"enabledDemo": true,
"demoPeriod": 123,
"categories": [
{
"categoryId": 123,
"name": "<string>"
}
],
"vendorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"productOrder": 123,
"isOnetimePurchasable": true,
"eventBadge": [
{
"event": "<string>",
"startDateTime": "2023-11-07T05:31:56Z",
"endDateTime": "2023-11-07T05:31:56Z"
}
],
"name": "<string>",
"subTitle": "<string>",
"featuredImageUrl": "<string>",
"imageUrls": [
"<string>"
],
"description": "<string>",
"summary": "<string>",
"reasonOfReject": "<string>",
"sku": "<string>",
"quantity": 123,
"modifiedAt": "2023-11-07T05:31:56Z",
"notice": "<string>",
"useWidget": {
"useDemo": true,
"useEventBadge": true,
"useOnetimePurchasable": true,
"useNotice": true
},
"groupId": 123,
"countrySetting": {
"id": 123,
"countryCode": "<string>",
"timezoneName": "<string>",
"currencyCode": "<string>",
"isDefault": true,
"taxRate": 123
},
"availableRegions": [
{
"code": "<string>",
"currency": "<string>",
"country": "<string>",
"countryCode": "<string>",
"state": "<string>",
"language": "<string>"
}
]
}상품 수정
상품을 수정할 때 호출합니다. 파라미터로 전달된 정보로 가격플랜 정보가 치환됩니다.
curl --request PUT \
--url https://api.steppay.kr/api/v1/products/{id} \
--header 'Content-Type: application/json' \
--header 'Secret-Token: <api-key>' \
--data '
{
"type": "SOFTWARE",
"status": "SALE",
"name": "넷플릭스 구독 상품",
"featuredImageUrl": "string",
"imageUrls": [
"string"
],
"description": "다양한 영화와 드라마",
"summary": "New summary",
"sku": "회차",
"quantity": null,
"eventBadge": [
{
"event": "string",
"startDateTime": "9999-01-01T00:00:00",
"endDateTime": "9999-01-01T00:00:00"
}
],
"productOrder": 0,
"enabledDemo": true,
"demoPeriod": 29,
"demoPeriodUnit": "DAY",
"combinedProducts": [],
"useCombination": false,
"optionCombinations": null,
"isOnetimePurchasable": false,
"useWidget": {
"useDemo": true,
"useEventBadge": true,
"useOnetimePurchasable": true,
"useNotice": true
},
"categoryIds": []
}
'import requests
url = "https://api.steppay.kr/api/v1/products/{id}"
payload = {
"type": "SOFTWARE",
"status": "SALE",
"name": "넷플릭스 구독 상품",
"featuredImageUrl": "string",
"imageUrls": ["string"],
"description": "다양한 영화와 드라마",
"summary": "New summary",
"sku": "회차",
"quantity": None,
"eventBadge": [
{
"event": "string",
"startDateTime": "9999-01-01T00:00:00",
"endDateTime": "9999-01-01T00:00:00"
}
],
"productOrder": 0,
"enabledDemo": True,
"demoPeriod": 29,
"demoPeriodUnit": "DAY",
"combinedProducts": [],
"useCombination": False,
"optionCombinations": None,
"isOnetimePurchasable": False,
"useWidget": {
"useDemo": True,
"useEventBadge": True,
"useOnetimePurchasable": True,
"useNotice": True
},
"categoryIds": []
}
headers = {
"Secret-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Secret-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'SOFTWARE',
status: 'SALE',
name: '넷플릭스 구독 상품',
featuredImageUrl: 'string',
imageUrls: ['string'],
description: '다양한 영화와 드라마',
summary: 'New summary',
sku: '회차',
quantity: null,
eventBadge: [
{
event: 'string',
startDateTime: '9999-01-01T00:00:00',
endDateTime: '9999-01-01T00:00:00'
}
],
productOrder: 0,
enabledDemo: true,
demoPeriod: 29,
demoPeriodUnit: 'DAY',
combinedProducts: [],
useCombination: false,
optionCombinations: null,
isOnetimePurchasable: false,
useWidget: {
useDemo: true,
useEventBadge: true,
useOnetimePurchasable: true,
useNotice: true
},
categoryIds: []
})
};
fetch('https://api.steppay.kr/api/v1/products/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.steppay.kr/api/v1/products/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'type' => 'SOFTWARE',
'status' => 'SALE',
'name' => '넷플릭스 구독 상품',
'featuredImageUrl' => 'string',
'imageUrls' => [
'string'
],
'description' => '다양한 영화와 드라마',
'summary' => 'New summary',
'sku' => '회차',
'quantity' => null,
'eventBadge' => [
[
'event' => 'string',
'startDateTime' => '9999-01-01T00:00:00',
'endDateTime' => '9999-01-01T00:00:00'
]
],
'productOrder' => 0,
'enabledDemo' => true,
'demoPeriod' => 29,
'demoPeriodUnit' => 'DAY',
'combinedProducts' => [
],
'useCombination' => false,
'optionCombinations' => null,
'isOnetimePurchasable' => false,
'useWidget' => [
'useDemo' => true,
'useEventBadge' => true,
'useOnetimePurchasable' => true,
'useNotice' => true
],
'categoryIds' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Secret-Token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.steppay.kr/api/v1/products/{id}"
payload := strings.NewReader("{\n \"type\": \"SOFTWARE\",\n \"status\": \"SALE\",\n \"name\": \"넷플릭스 구독 상품\",\n \"featuredImageUrl\": \"string\",\n \"imageUrls\": [\n \"string\"\n ],\n \"description\": \"다양한 영화와 드라마\",\n \"summary\": \"New summary\",\n \"sku\": \"회차\",\n \"quantity\": null,\n \"eventBadge\": [\n {\n \"event\": \"string\",\n \"startDateTime\": \"9999-01-01T00:00:00\",\n \"endDateTime\": \"9999-01-01T00:00:00\"\n }\n ],\n \"productOrder\": 0,\n \"enabledDemo\": true,\n \"demoPeriod\": 29,\n \"demoPeriodUnit\": \"DAY\",\n \"combinedProducts\": [],\n \"useCombination\": false,\n \"optionCombinations\": null,\n \"isOnetimePurchasable\": false,\n \"useWidget\": {\n \"useDemo\": true,\n \"useEventBadge\": true,\n \"useOnetimePurchasable\": true,\n \"useNotice\": true\n },\n \"categoryIds\": []\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Secret-Token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.steppay.kr/api/v1/products/{id}")
.header("Secret-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"SOFTWARE\",\n \"status\": \"SALE\",\n \"name\": \"넷플릭스 구독 상품\",\n \"featuredImageUrl\": \"string\",\n \"imageUrls\": [\n \"string\"\n ],\n \"description\": \"다양한 영화와 드라마\",\n \"summary\": \"New summary\",\n \"sku\": \"회차\",\n \"quantity\": null,\n \"eventBadge\": [\n {\n \"event\": \"string\",\n \"startDateTime\": \"9999-01-01T00:00:00\",\n \"endDateTime\": \"9999-01-01T00:00:00\"\n }\n ],\n \"productOrder\": 0,\n \"enabledDemo\": true,\n \"demoPeriod\": 29,\n \"demoPeriodUnit\": \"DAY\",\n \"combinedProducts\": [],\n \"useCombination\": false,\n \"optionCombinations\": null,\n \"isOnetimePurchasable\": false,\n \"useWidget\": {\n \"useDemo\": true,\n \"useEventBadge\": true,\n \"useOnetimePurchasable\": true,\n \"useNotice\": true\n },\n \"categoryIds\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.steppay.kr/api/v1/products/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Secret-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"SOFTWARE\",\n \"status\": \"SALE\",\n \"name\": \"넷플릭스 구독 상품\",\n \"featuredImageUrl\": \"string\",\n \"imageUrls\": [\n \"string\"\n ],\n \"description\": \"다양한 영화와 드라마\",\n \"summary\": \"New summary\",\n \"sku\": \"회차\",\n \"quantity\": null,\n \"eventBadge\": [\n {\n \"event\": \"string\",\n \"startDateTime\": \"9999-01-01T00:00:00\",\n \"endDateTime\": \"9999-01-01T00:00:00\"\n }\n ],\n \"productOrder\": 0,\n \"enabledDemo\": true,\n \"demoPeriod\": 29,\n \"demoPeriodUnit\": \"DAY\",\n \"combinedProducts\": [],\n \"useCombination\": false,\n \"optionCombinations\": null,\n \"isOnetimePurchasable\": false,\n \"useWidget\": {\n \"useDemo\": true,\n \"useEventBadge\": true,\n \"useOnetimePurchasable\": true,\n \"useNotice\": true\n },\n \"categoryIds\": []\n}"
response = http.request(request)
puts response.read_body{
"id": 1,
"code": "product_AbCdEfGhI",
"type": "SOFTWARE",
"status": "SALE",
"name": "New Product Name",
"subTitle": null,
"featuredImageUrl": "string",
"imageUrls": [
"string"
],
"description": "New Description",
"summary": "New summary",
"reasonOfReject": "New Reason",
"sku": "units",
"quantity": 0,
"combinedProducts": [],
"optionGroups": [
{
"id": 1,
"name": "string",
"options": [
{
"id": 1,
"name": "string",
"quantity": 0,
"price": 0,
"parent": null
}
],
"depth": null
}
],
"useCombination": false,
"optionCombinations": [],
"prices": [],
"createdAt": "9999-01-01T00:00:00",
"modifiedAt": "9999-01-01T00:00:00",
"enabledDemo": true,
"demoPeriod": 2,
"demoPeriodUnit": "DAY",
"categories": [],
"vendorUuid": "206992bb-6462-4b4f-9847-cf2f40d55b48",
"productOrder": 0,
"isOnetimePurchasable": false,
"eventBadge": [
{
"event": "string",
"startDateTime": "9999-01-01T00:00:00",
"endDateTime": "9999-01-01T00:00:00"
}
],
"notice": "New notice",
"useWidget": {
"useDemo": true,
"useEventBadge": true,
"useOnetimePurchasable": true,
"useNotice": true
},
"groupId": null,
"countrySetting": null
}{
"errorCode": "<string>",
"traceId": "<string>",
"errorMessage": "<string>",
"details": {}
}{
"errorCode": "<string>",
"traceId": "<string>",
"errorMessage": "<string>",
"details": {}
}{
"id": 123,
"code": "<string>",
"combinedProducts": [
{
"code": "<string>",
"name": "<string>",
"description": "<string>",
"options": [
{
"id": 123,
"name": "<string>",
"options": [
{
"id": 123,
"name": "<string>",
"price": 123,
"quantity": 123,
"parent": 123
}
],
"depth": 123
}
],
"prices": [
{
"id": 123,
"code": "<string>",
"price": 123,
"enabledFirstSalePrice": true,
"firstSalePrice": 123,
"billingDate": 123,
"maximumPurchaseQuantity": 123,
"membershipExpirationDate": 123,
"options": [
{
"id": 123,
"price": 123,
"name": "<string>",
"productCode": "<string>",
"priceCode": "<string>",
"priceName": "<string>",
"recurringDTO": {
"id": 123,
"intervalCount": 123
}
}
],
"volumes": [
{
"id": 123,
"min": 123,
"max": 123,
"price": 123
}
],
"basicServing": 123,
"bundlePrices": [
{
"product": "<unknown>",
"price": "<unknown>"
}
],
"onetimeBundlePrice": 123,
"order": 123,
"currencyPrice": {},
"unit": "<string>",
"planName": "<string>",
"planDescription": "<string>",
"setupOption": {
"name": "<string>",
"id": 123,
"price": 123,
"currencyPrice": {}
},
"additionalBilling": {
"id": 123,
"ranges": [
{
"id": 123,
"until": 123,
"price": 123
}
]
},
"recurring": {
"id": 123,
"intervalCount": 123
},
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z",
"plan": {
"name": "<string>",
"description": "<string>",
"isHiddenFromShop": true,
"detailDescription": "<string>",
"adminName": "<string>"
},
"firstSale": {
"enabled": true,
"price": 123,
"currencyPrice": {}
},
"claim": {
"billingDate": 123,
"provideStartDay": 123
}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}
],
"optionGroups": [
{
"id": 123,
"name": "<string>",
"options": [
{
"id": 123,
"name": "<string>",
"price": 123,
"quantity": 123,
"parent": 123
}
],
"depth": 123
}
],
"useCombination": true,
"optionCombinations": [
{
"id": [
123
],
"quantity": 123,
"price": 123
}
],
"prices": [
{
"id": 123,
"code": "<string>",
"price": 123,
"enabledFirstSalePrice": true,
"firstSalePrice": 123,
"billingDate": 123,
"maximumPurchaseQuantity": 123,
"membershipExpirationDate": 123,
"options": [
{
"id": 123,
"price": 123,
"name": "<string>",
"productCode": "<string>",
"priceCode": "<string>",
"priceName": "<string>",
"recurringDTO": {
"id": 123,
"intervalCount": 123
}
}
],
"volumes": [
{
"id": 123,
"min": 123,
"max": 123,
"price": 123
}
],
"basicServing": 123,
"bundlePrices": [
{
"product": "<unknown>",
"price": "<unknown>"
}
],
"onetimeBundlePrice": 123,
"order": 123,
"currencyPrice": {},
"unit": "<string>",
"planName": "<string>",
"planDescription": "<string>",
"setupOption": {
"name": "<string>",
"id": 123,
"price": 123,
"currencyPrice": {}
},
"additionalBilling": {
"id": 123,
"ranges": [
{
"id": 123,
"until": 123,
"price": 123
}
]
},
"recurring": {
"id": 123,
"intervalCount": 123
},
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z",
"plan": {
"name": "<string>",
"description": "<string>",
"isHiddenFromShop": true,
"detailDescription": "<string>",
"adminName": "<string>"
},
"firstSale": {
"enabled": true,
"price": 123,
"currencyPrice": {}
},
"claim": {
"billingDate": 123,
"provideStartDay": 123
}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"enabledDemo": true,
"demoPeriod": 123,
"categories": [
{
"categoryId": 123,
"name": "<string>"
}
],
"vendorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"productOrder": 123,
"isOnetimePurchasable": true,
"eventBadge": [
{
"event": "<string>",
"startDateTime": "2023-11-07T05:31:56Z",
"endDateTime": "2023-11-07T05:31:56Z"
}
],
"name": "<string>",
"subTitle": "<string>",
"featuredImageUrl": "<string>",
"imageUrls": [
"<string>"
],
"description": "<string>",
"summary": "<string>",
"reasonOfReject": "<string>",
"sku": "<string>",
"quantity": 123,
"modifiedAt": "2023-11-07T05:31:56Z",
"notice": "<string>",
"useWidget": {
"useDemo": true,
"useEventBadge": true,
"useOnetimePurchasable": true,
"useNotice": true
},
"groupId": 123,
"countrySetting": {
"id": 123,
"countryCode": "<string>",
"timezoneName": "<string>",
"currencyCode": "<string>",
"isDefault": true,
"taxRate": 123
},
"availableRegions": [
{
"code": "<string>",
"currency": "<string>",
"country": "<string>",
"countryCode": "<string>",
"state": "<string>",
"language": "<string>"
}
]
}Authorizations
Path Parameters
상품 번호
Body
상품 수정 데이터
상품 타입
BOX, SOFTWARE, BUNDLE, INVOICE, DRAFT 상품 상태
SALE, OUT_OF_STOCK, UNSOLD, WAITING_APPROVAL, REJECTED 상품 이름
부제목
상품 대표 이미지 URL
상품 이미지 URL
상품 이미지 URL
상품 설명
상품 요약
상품 승인 거절 사유
SKU
재고 수량
이벤트 뱃지
Show child attributes
Show child attributes
유의 사항
순서 (기본값: 0)
체험기간 활성 여부
체험기간 (기본값: 0)
체험기간 단위
DAY, WEEK, MONTH, YEAR 번들 상품 번호
번들 상품 번호
옵션 그룹 수정 데이터
Show child attributes
Show child attributes
조합형 옵션 사용 여부
옵션 조합
Show child attributes
Show child attributes
1회 구매 상품
상품 위젯 사용 여부
Show child attributes
Show child attributes
카테고리 리스트 아이디
카테고리 리스트 아이디
결제 국가 설정 ID
판매 가능 국가(region)
판매 가능 국가(region)
AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, US_ALABAMA, US_ALASKA, US_ARIZONA, US_ARKANSAS, US_CALIFORNIA, US_COLORADO, US_CONNECTICUT, US_DELAWARE, US_FLORIDA, US_GEORGIA, US_HAWAII, US_IDAHO, US_ILLINOIS, US_INDIANA, US_IOWA, US_KANSAS, US_KENTUCKY, US_LOUISIANA, US_MAINE, US_MARYLAND, US_MASSACHUSETTS, US_MICHIGAN, US_MINNESOTA, US_MISSISSIPPI, US_MISSOURI, US_MONTANA, US_NEBRASKA, US_NEVADA, US_NEW_HAMPSHIRE, US_NEW_JERSEY, US_NEW_MEXICO, US_NEW_YORK, US_NORTH_CAROLINA, US_NORTH_DAKOTA, US_OHIO, US_OKLAHOMA, US_OREGON, US_PENNSYLVANIA, US_RHODE_ISLAND, US_SOUTH_CAROLINA, US_SOUTH_DAKOTA, US_TENNESSEE, US_TEXAS, US_UTAH, US_VERMONT, US_VIRGINIA, US_WASHINGTON, US_WEST_VIRGINIA, US_WISCONSIN, US_WYOMING, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW 공유 벤더 목록
공유 벤더 목록
Response
정상적으로 수정됨
상품 정보
상품 아이디
상품 코드
상품 상태
SALE, OUT_OF_STOCK, UNSOLD, WAITING_APPROVAL, REJECTED 번들 상품 정보
Show child attributes
Show child attributes
옵션 그룹 정보
Show child attributes
Show child attributes
조합형 옵션 사용 여부
옵션 조합
Show child attributes
Show child attributes
가격 플랜 목록
Show child attributes
Show child attributes
생성 시점
체험기간 활성화 여부
체험 기간
체험 기간 단위
DAY, WEEK, MONTH, YEAR 카테고리
Show child attributes
Show child attributes
가맹점 UUID
순서
활성 구독 제한
이벤트 뱃지
Show child attributes
Show child attributes
상품 타입
BOX, SOFTWARE, BUNDLE, INVOICE, DRAFT 상품 이름
부제목
상품 대표 이미지 URL
상품 이미지 URL
상품 이미지 URL
상품 설명
상품 요약
상품 승인 거절 사유
SKU
재고 수량
수정 시점
유의 사항
상품 위젯 사용 여부
Show child attributes
Show child attributes
그룹 ID
국가 설정 정보
Show child attributes
Show child attributes
판매 가능 국가
Show child attributes
Show child attributes