Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // fields definition
- sku: string // optional, if not passed it will be randomly generated
- product_id_type: csin | isbn10 | isbn13 // type of `product_id`
- product_id: string // ex isbn10 | csin >"8839518568", isbn13 > "9788839518569"
- active: 1 | 0 // default 1
- price // "12,20" | "12.20"
- quantity // 1
- item_condition: new | etc ..
- operation_type: add | delete | update
- condition_notes: string
- shipping_template: string // optional, if not passed, the default will be used
- // CREATE
- // all headers are required. sku, condition_notes, active and shipping_template can be empty
- // UPDATE
- // `sku` is required. Will be updated values for all headers, also if empty
- // DELETE
- // `sku` is required. All other headers will be ignored
- // csv example
- sku product_id_type product_id price quantity item_condition operation_type condition_notes shipping_template
- sku_1 isbn10 8839518568 12,2 1 used_acceptable add accettabile blabla books_1 // valid row
- sku_2 csin 8839518568 12.3 2 new update descrizione aggiornata // valid
- sku_3 delete // valid
- sku_4 csin 8839518568 2 new update descrizione aggiornata // invalid, price = ""
- // csv example 2
- sku price operation_type condition_notes
- sku_1 12,2 update condizione aggiornata
- // csv example 3
- sku operation_type
- sku_1 delete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement