제품 변형의 일부 속성에 유효한 값에 대한 질문.Shopify API 제품 변형의 유효한 값에 대한 설명
특히 변형 된 inventory_management 속성과 fulfillment_service 속성 주위에 혼란이 있습니다. 여기에 우선 들어
은 매장 관리자에 의해 출력했다 변형의 일부 JSON입니다 : 이제
compare_at_price: "39.99"
created_at: "2012-02-18T20:14:40-05:00"
fulfillment_service: "manual"
grams: 0
id: 201382272
inventory_management: "shopify"
inventory_policy: "deny"
inventory_quantity: -1
option1: "Gold"
option2: null
option3: null
position: 1
price: "29.99"
product_id: 85812592
requires_shipping: true
sku: "charm amethyst"
taxable: true
title: "Gold"
updated_at: "2012-12-01T19:29:32-05:00"
, 여기에 유효한 값은 변형의 모든 속성에 대해 무엇을 설명하는 Shopify 도움말 문서에 대한 링크입니다 :
http://wiki.shopify.com/Variant#variant.inventory_management
이 링크 액체 코드를 어떻게 생겼는지로 이동하는 것이 허락, 나는 우리가 백 엔드에서 동일한 속성이 프런트 엔드에 다시 나타날 것으로 예상 할 수 있기를 바랍니다 것입니다. 그들은 여기에서, 그리고 대부분의 정의는 앞서 언급 한 링크에서 제공되는 모든 속성의 목록은 다음과 같습니다 희망1 variant.id
2 variant.title
3 variant.price
4 variant.compare_at_price
5 variant.available
6 variant.inventory_management
7 variant.inventory_quantity
8 variant.inventory_policy
9 variant.weight
10 variant.sku
11 variant.option1
12 variant.option2
13 variant.option3
14 variant.options
15 requires_shipping
16 taxable
당신이 언급 한 그 백 엔드 API에 나타납니다 fulfillment_service 프런트 엔드에 표시되지 않습니다.
문제를 더 복잡하게 만들기 위해 변형 속성 here에 대한 정의를 제공하는 또 다른 도움말이 작성되었습니다. 이 기사의 문제는 "Variant Inventory Tracker"라는 변형 속성을 언급하는데 도움 문서의 다른 곳에서는 나타나지 않지만 fulfillment_service 및 가능하면 inventory_management 변형과 관련된 값을 포함하고있는 것으로 보입니다.
정말로 도움을 주셔서 감사합니다!
인데 여전히 유효합니까? –