OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/content": { | 5 "https://www.googleapis.com/auth/content": { |
6 "description": "Manage your product listings and accounts fo
r Google Shopping" | 6 "description": "Manage your product listings and accounts fo
r Google Shopping" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "/content/v2/", | 11 "basePath": "/content/v2/", |
12 "baseUrl": "https://www.googleapis.com/content/v2/", | 12 "baseUrl": "https://www.googleapis.com/content/v2/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "Shopping Content", | 14 "canonicalName": "Shopping Content", |
15 "description": "Manages product items, inventory, and Merchant Center accoun
ts for Google Shopping.", | 15 "description": "Manages product items, inventory, and Merchant Center accoun
ts for Google Shopping.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://developers.google.com/shopping-content", | 17 "documentationLink": "https://developers.google.com/shopping-content", |
18 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/01Lp9Yk-3T3BaqOhUvIN7bFgCYw\"", | 18 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/3ndj6CrnaIPgtGQaHLaTi2-tP64\"", |
19 "icons": { | 19 "icons": { |
20 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 20 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
21 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 21 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
22 }, | 22 }, |
23 "id": "content:v2", | 23 "id": "content:v2", |
24 "kind": "discovery#restDescription", | 24 "kind": "discovery#restDescription", |
25 "name": "content", | 25 "name": "content", |
26 "ownerDomain": "google.com", | 26 "ownerDomain": "google.com", |
27 "ownerName": "Google", | 27 "ownerName": "Google", |
28 "parameters": { | 28 "parameters": { |
(...skipping 2101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2130 "response": { | 2130 "response": { |
2131 "$ref": "ShippingSettings" | 2131 "$ref": "ShippingSettings" |
2132 }, | 2132 }, |
2133 "scopes": [ | 2133 "scopes": [ |
2134 "https://www.googleapis.com/auth/content" | 2134 "https://www.googleapis.com/auth/content" |
2135 ] | 2135 ] |
2136 } | 2136 } |
2137 } | 2137 } |
2138 } | 2138 } |
2139 }, | 2139 }, |
2140 "revision": "20160822", | 2140 "revision": "20161027", |
2141 "rootUrl": "https://www.googleapis.com/", | 2141 "rootUrl": "https://www.googleapis.com/", |
2142 "schemas": { | 2142 "schemas": { |
2143 "Account": { | 2143 "Account": { |
2144 "description": "Account data.", | 2144 "description": "Account data.", |
2145 "id": "Account", | 2145 "id": "Account", |
2146 "properties": { | 2146 "properties": { |
2147 "adultContent": { | 2147 "adultContent": { |
2148 "description": "Indicates whether the merchant sells adult c
ontent.", | 2148 "description": "Indicates whether the merchant sells adult c
ontent.", |
2149 "type": "boolean" | 2149 "type": "boolean" |
2150 }, | 2150 }, |
(...skipping 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3821 }, | 3821 }, |
3822 "kind": { | 3822 "kind": { |
3823 "default": "content#inventory", | 3823 "default": "content#inventory", |
3824 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#inventory\".", | 3824 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#inventory\".", |
3825 "type": "string" | 3825 "type": "string" |
3826 }, | 3826 }, |
3827 "loyaltyPoints": { | 3827 "loyaltyPoints": { |
3828 "$ref": "LoyaltyPoints", | 3828 "$ref": "LoyaltyPoints", |
3829 "description": "Loyalty points that users receive after purc
hasing the item. Japan only." | 3829 "description": "Loyalty points that users receive after purc
hasing the item. Japan only." |
3830 }, | 3830 }, |
| 3831 "pickup": { |
| 3832 "$ref": "InventoryPickup", |
| 3833 "description": "Store pickup information. Only supported for
local inventory. Not setting pickup means \"don't update\" while setting it to
the empty value ({} in JSON) means \"delete\". Otherwise, pickupMethod and picku
pSla must be set together, unless pickupMethod is \"not supported\"." |
| 3834 }, |
3831 "price": { | 3835 "price": { |
3832 "$ref": "Price", | 3836 "$ref": "Price", |
3833 "description": "The price of the product." | 3837 "description": "The price of the product." |
3834 }, | 3838 }, |
3835 "quantity": { | 3839 "quantity": { |
3836 "description": "The quantity of the product. Must be equal t
o or greater than zero. Supported only for local products.", | 3840 "description": "The quantity of the product. Must be equal t
o or greater than zero. Supported only for local products.", |
3837 "format": "uint32", | 3841 "format": "uint32", |
3838 "type": "integer" | 3842 "type": "integer" |
3839 }, | 3843 }, |
3840 "salePrice": { | 3844 "salePrice": { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3927 "description": "A list of errors defined if and only if the
request failed." | 3931 "description": "A list of errors defined if and only if the
request failed." |
3928 }, | 3932 }, |
3929 "kind": { | 3933 "kind": { |
3930 "default": "content#inventoryCustomBatchResponseEntry", | 3934 "default": "content#inventoryCustomBatchResponseEntry", |
3931 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#inventoryCustomBatchResponseEntry\".", | 3935 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#inventoryCustomBatchResponseEntry\".", |
3932 "type": "string" | 3936 "type": "string" |
3933 } | 3937 } |
3934 }, | 3938 }, |
3935 "type": "object" | 3939 "type": "object" |
3936 }, | 3940 }, |
| 3941 "InventoryPickup": { |
| 3942 "id": "InventoryPickup", |
| 3943 "properties": { |
| 3944 "pickupMethod": { |
| 3945 "description": "Whether store pickup is available for this o
ffer and whether the pickup option should be shown as buy, reserve, or not suppo
rted. Only supported for local inventory. Unless the value is \"not supported\",
must be submitted together with pickupSla.", |
| 3946 "type": "string" |
| 3947 }, |
| 3948 "pickupSla": { |
| 3949 "description": "The expected date that an order will be read
y for pickup, relative to when the order is placed. Only supported for local inv
entory. Must be submitted together with pickupMethod.", |
| 3950 "type": "string" |
| 3951 } |
| 3952 }, |
| 3953 "type": "object" |
| 3954 }, |
3937 "InventorySetRequest": { | 3955 "InventorySetRequest": { |
3938 "id": "InventorySetRequest", | 3956 "id": "InventorySetRequest", |
3939 "properties": { | 3957 "properties": { |
3940 "availability": { | 3958 "availability": { |
3941 "description": "The availability of the product.", | 3959 "description": "The availability of the product.", |
3942 "type": "string" | 3960 "type": "string" |
3943 }, | 3961 }, |
3944 "installment": { | 3962 "installment": { |
3945 "$ref": "Installment", | 3963 "$ref": "Installment", |
3946 "description": "Number and amount of installments to pay for
an item. Brazil only." | 3964 "description": "Number and amount of installments to pay for
an item. Brazil only." |
3947 }, | 3965 }, |
3948 "loyaltyPoints": { | 3966 "loyaltyPoints": { |
3949 "$ref": "LoyaltyPoints", | 3967 "$ref": "LoyaltyPoints", |
3950 "description": "Loyalty points that users receive after purc
hasing the item. Japan only." | 3968 "description": "Loyalty points that users receive after purc
hasing the item. Japan only." |
3951 }, | 3969 }, |
| 3970 "pickup": { |
| 3971 "$ref": "InventoryPickup", |
| 3972 "description": "Store pickup information. Only supported for
local inventory. Not setting pickup means \"don't update\" while setting it to
the empty value ({} in JSON) means \"delete\". Otherwise, pickupMethod and picku
pSla must be set together, unless pickupMethod is \"not supported\"." |
| 3973 }, |
3952 "price": { | 3974 "price": { |
3953 "$ref": "Price", | 3975 "$ref": "Price", |
3954 "description": "The price of the product." | 3976 "description": "The price of the product." |
3955 }, | 3977 }, |
3956 "quantity": { | 3978 "quantity": { |
3957 "description": "The quantity of the product. Must be equal t
o or greater than zero. Supported only for local products.", | 3979 "description": "The quantity of the product. Must be equal t
o or greater than zero. Supported only for local products.", |
3958 "format": "uint32", | 3980 "format": "uint32", |
3959 "type": "integer" | 3981 "type": "integer" |
3960 }, | 3982 }, |
3961 "salePrice": { | 3983 "salePrice": { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4018 }, | 4040 }, |
4019 "type": "object" | 4041 "type": "object" |
4020 }, | 4042 }, |
4021 "Order": { | 4043 "Order": { |
4022 "id": "Order", | 4044 "id": "Order", |
4023 "properties": { | 4045 "properties": { |
4024 "acknowledged": { | 4046 "acknowledged": { |
4025 "description": "Whether the order was acknowledged.", | 4047 "description": "Whether the order was acknowledged.", |
4026 "type": "boolean" | 4048 "type": "boolean" |
4027 }, | 4049 }, |
| 4050 "channelType": { |
| 4051 "description": "The channel type of the order: \"purchaseOnG
oogle\" or \"googleExpress\".", |
| 4052 "type": "string" |
| 4053 }, |
4028 "customer": { | 4054 "customer": { |
4029 "$ref": "OrderCustomer", | 4055 "$ref": "OrderCustomer", |
4030 "description": "The details of the customer who placed the o
rder." | 4056 "description": "The details of the customer who placed the o
rder." |
4031 }, | 4057 }, |
4032 "deliveryDetails": { | 4058 "deliveryDetails": { |
4033 "$ref": "OrderDeliveryDetails", | 4059 "$ref": "OrderDeliveryDetails", |
4034 "description": "The details for the delivery." | 4060 "description": "The details for the delivery." |
4035 }, | 4061 }, |
4036 "id": { | 4062 "id": { |
4037 "description": "The REST id of the order. Globally unique.", | 4063 "description": "The REST id of the order. Globally unique.", |
(...skipping 2783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6821 "type": "string" | 6847 "type": "string" |
6822 } | 6848 } |
6823 }, | 6849 }, |
6824 "type": "object" | 6850 "type": "object" |
6825 } | 6851 } |
6826 }, | 6852 }, |
6827 "servicePath": "content/v2/", | 6853 "servicePath": "content/v2/", |
6828 "title": "Content API for Shopping", | 6854 "title": "Content API for Shopping", |
6829 "version": "v2" | 6855 "version": "v2" |
6830 } | 6856 } |
OLD | NEW |